[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: devices and task switching
> Will MiNT task switch whilst executing device driver code? I was just
> wondering what would hapen if two proceses made a write call 'symultainiously'
> - would one block until the other has finished writting?
> I feel a little stupid for asking this question, since I am pretty damned sure
> that MiNT won't task switch, but I just want to be sure :).
It's been a while since I wrote any device drivers, but from memory,
they're called in Supervisor mode, which means the kernel won't preempt