Re: pthreads and futexes

2007-08-02 Thread Razvan Deaconescu
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

pthreads and futexes

2007-08-02 Thread Jug Venkatesh
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

Re: pthreads

2007-08-02 Thread Thomas Petazzoni
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

Re: pthreads

2007-07-31 Thread Ohad Ben-Cohen
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

pthreads query

2007-07-31 Thread hari krishna angadi
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

Re: pthreads

2007-07-31 Thread pradeep singh
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

pthreads

2007-07-31 Thread Jug Venkatesh
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

Re: pthreads

2007-07-30 Thread Andrea Gasparini
>   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- ---

pthreads

2007-07-30 Thread hari krishna angadi
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