LinuxAnswers - the LQ Linux tutorial section. Go Back > Forums >
Non-*NIX Forums > Programming User Name Programming This forum
is for all programming questions.   LinkBack Search this Thread
Old 04-26-2005, 08:23 AM   #1 Registered: Mar 2005 Posts: 61
Rep: Reputation: 15 What is thread safe....???  Hi all, Can any
body tell me waht is thread safe library...??? What really does
it mean...??? If possible plz let me know from where i can get
more information on thread safe library...??? So that i can
write thread safe codes and libraries....  With regard Old
04-26-2005, 09:25 AM   #2 Registered: Aug 2001 Location: Fargo,
ND Distribution: SuSE AMD64 Posts: 15,733  In Linux a thread is
a process. However, the difference is that threads can share
memory. You can have a program that has started 4 separate child
threads. Each thread has it's own virtual CPU but the threads
share the VM (Virtual Memory). Now if you have a variable being
updated by the first thread, but in the process, the second
thread is started an