|
-
February 2nd, 2004, 10:22 AM
#11
Originally posted by _uj
The ability to link external libraries is NOT enougth. The libraries that come with the compiler must be guaranteed threadsafe, otherwise there's no way a program can become multithreading no matter what other stuff you link to it. But today I'd say all major compilers have threadsafe vesions of their standard libraries. The important thing is to make sure you use them.
Yes, of course. Someone, developing a threaded application, have to use threadsafe versions of libraries, otherwise he is seeking for problems on his head. But I have meant a "pure" compiler without any environmant libraries.
gcc goes without any libraries. It's just a compiler. In addition, there is a set of libraries available for writing applications. That set of libraries, needed for application, depends on goals and design of program. e.g. for FreeBSD someone can use libc for non-threaded program and libc-r for multithreaded.
"UNIX is simple; it just takes a genius to understand its simplicity!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|