China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 03:28
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Discussion] Has anyone used gnu/pth1.3.7 under DJGPP? View 727 Replies 1
Original Poster Posted 2003-09-23 00:00 ·  新加坡 星和视界(StarHub)宽带
初级用户
Credits 169
Posts 29
Joined 2003-07-09 00:00
23-year member
UID 6654
Gender Male
Status Offline
gnu/pth1.3.7 is a non-preemptive multithreading package. Under Linux the latest version now is 2.0. The one under djgpp is a port of 1.3.7. It requires djgpp 2.04 alpha and gnu/gcc 3.2.2+, and also requires watt32.
Because there is no documentation for djgpp, I used the examples in the Linux documentation for reference, but compilation failed every time (it always says there are several incorrect declarations in socket.h, related to struct addrsock. But I am sure watt32 is installed correctly, because I successfully compiled all those examples under the watt32\bin directory with djgpp).

I wonder whether anyone is interested in multithread programming under djgpp. I tried several multithread packages under v2tk; under 2.03 they either would not compile, or behaved strangely, extremely unstable. What interests me more is pth, because it is POSIX. If any expert has ever successfully tried pth, let's discuss it?
Floor 2 Posted 2003-10-18 00:00 ·  中国 河北 沧州 黄骅市 联通
初级用户
Credits 183
Posts 31
Joined 2002-11-30 00:00
23-year member
UID 371
Gender Male
Status Offline
After compiling my pth multithreading package, the threads always execute sequentially
我的论坛 http://zjp-vlk.vicp.net/bbs 我在它就在!
Forum Jump: