Jug Venkatesh wrote:
Hi,
Can anyone describe, or link me to an explanation of how futexes are
used within pthreads?
http://en.wikipedia.org/wiki/Futex
Follow the links.
Razvan
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECT
Hi,
Can anyone describe, or link me to an explanation of how futexes are
used within pthreads?
Thanks
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ
Hi,
Le Mon, 30 Jul 2007 10:29:43 +0100 (BST),
hari krishna angadi <[EMAIL PROTECTED]> a écrit :
> i am porting user code as kernel code.in user code pthreads is
> used i want respective in kernel.pthread_mutex_t and
> PTHREAD_MUTEX_INITIALIZER is used in user code
Inside th
tes
> to the linux scheduler (hopefully, i can understand this better after
> looking at the pthreads source code, so just that info would help)
It doesn't. In Linux, threads are actually processes that share the same
address space. Thus the kernel is responsible for scheduling them just
like a
hi, all,
i am porting user code to kernel code.
in user code pthreads is used i want respective kernel routine in
kernel.pthread_mutex_t and PTHREAD_MUTEX_INITIALIZER is used in user code.
Send instant messages to your online friends http://uk.messenger.yahoo.com
tell me
> how exactly the pthread library performs scheduling, and how it relates
AFAIR,
user level pthreads are handled entirely differently.
Kernel scheduler is not aware of it.
Scheduling userspace pthreads is taken care by a different scheduler
and not the kernel scheduler.
please CMIIW.
tha
elates
to the linux scheduler (hopefully, i can understand this better after
looking at the pthreads source code, so just that info would help)
thanks
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ
> i am porting user code as kernel code.in user code pthreads is used i
> want respective in kernel.pthread_mutex_t and PTHREAD_MUTEX_INITIALIZER
> is used in user code
you can try using the Big Kernel Lock. :D
Bye!
--
-gaspa-
---
hi,
i am porting user code as kernel code.in user code pthreads is used i want
respective in kernel.pthread_mutex_t and PTHREAD_MUTEX_INITIALIZER is used in
user code
Send instant messages to your online friends http://uk.messenger.yahoo.com