RE: mutual exclusion in vkbd

2005-06-01 Thread Norbert Koch
Thank you all. I'll try it. Norbert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Maksim Yevmenkin Sent: Tuesday, May 31, 2005 10:59 PM To: Alexander Kabaev Cc: Norbert Koch; freebsd-hackers@freebsd.org Subject: Re: mutual exclusion in vkbd

mutual exclusion in vkbd

2005-05-31 Thread Norbert Koch
Hello. I am currently trying to backport vkbd to FreeBSD 4. Maksim Yevmenkin uses mtx_lock()/mtx_unlock() for protecting access to data structures under FreeBSD 5/6 between the device functions and the kernel thread. How should I best do this under FreeBSD 4? Would something like splhigh()

Re: mutual exclusion in vkbd

2005-05-31 Thread Maksim Yevmenkin
Norbert, I am currently trying to backport vkbd to FreeBSD 4. ok Maksim Yevmenkin uses mtx_lock()/mtx_unlock() for protecting access to data structures under FreeBSD 5/6 between the device functions and the kernel thread. How should I best do this under FreeBSD 4? Would something like

Re: mutual exclusion in vkbd

2005-05-31 Thread Alexander Kabaev
On Tue, May 31, 2005 at 09:41:18AM -0700, Maksim Yevmenkin wrote: Norbert, I am currently trying to backport vkbd to FreeBSD 4. ok Maksim Yevmenkin uses mtx_lock()/mtx_unlock() for protecting access to data structures under FreeBSD 5/6 between the device functions and the kernel

Re: mutual exclusion in vkbd

2005-05-31 Thread Maksim Yevmenkin
Alexander Kabaev wrote: On Tue, May 31, 2005 at 09:41:18AM -0700, Maksim Yevmenkin wrote: Norbert, I am currently trying to backport vkbd to FreeBSD 4. ok Maksim Yevmenkin uses mtx_lock()/mtx_unlock() for protecting access to data structures under FreeBSD 5/6 between the device