|
|
Can I use FSU pthreads as a shared library? |
| Yes. FSU
pthreads come in two flavors: static library and shared library.
However, when you use FSU pthreads shared library must to take care of the
library order in the command linker line. FSU pthreads use some function in
socket library, but FSU make some of them pthread aware. Use always
-lgthreads -lsocket -lgthreads, to always use FSU pthreads socket reentrant
functions. ARTURO MONTES robertlipe@usa.net | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||