GIDForums  

Go Back   GIDForums > Computer Programming Forums > Miscellaneous Programming Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 17-Oct-2006, 04:36
beuh beuh is offline
New Member
 
Join Date: Oct 2006
Posts: 2
beuh is on a distinguished road

user level threads in C


Hi,

I want to use user level threads in C. These are threads that are managed in user space without any knowledge from the operating system.

I do not find a suitable library that is still supported. Most implementation are educational or have now an emulation layer that maps on kernel threads behind the scenes. I tried cthreads but it does not compile on my systems (and it's not easy to solve, neither is it supported).

Does anyone know of a stable, more or less directly usable user level threads library?

Thanks in advance!
  #2  
Old 17-Oct-2006, 06:14
TurboPT's Avatar
TurboPT TurboPT is offline
Senior Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 1,017
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: user level threads in C


Not sure what environment that you're working with, but what about pthreads?
(just google 'pthreads', there were 1M++ hits)
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
  #3  
Old 17-Oct-2006, 06:44
beuh beuh is offline
New Member
 
Join Date: Oct 2006
Posts: 2
beuh is on a distinguished road

Re: user level threads in C


Thanks, but the environment is linux 2.4./2.6... and pthreads gets mapped to kernel level threads. Or am I mistaken about that?
 
 

Recent GIDBlogUS Elections and the ?Voter?s Responsibility? by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Help Me To Build My Calendar!!! suriacute85 Java Forum 0 05-Oct-2006 20:39
[Include] Doubly-linked List dsmith C Programming Language 6 14-Apr-2006 14:12
Help wit my source code compiler errors Krandygrl00 C++ Forum 1 06-Jun-2005 09:14
Apache2 config issues monev Apache Web Server Forum 2 28-Jun-2004 07:19

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:55.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.