DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Multithreaded network programming

Order of linking

Multithreaded applications must link the Threads Library in such a way that it is initialized before all of the networking libraries. (However, if a single-threaded application links the Threads Library solely in order to access the synchronization primitives for inter-process synchronization, then it should make sure that the Threads Library is initialized after all of the networking libraries.)

For example, in order for your multithreaded XTI application to operate correctly, you should ensure that one of the following scenarios occurs:


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005