![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-15 05:44 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » [Discussion] Has anyone used gnu/pth1.3.7 under DJGPP? |
| Printable Version 795 / 1 |
| Floor1 ATLaS | Posted 2003-09-23 00:00 |
| 初级用户 Posts 29 Credits 169 | |
|
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? |
|
| Floor2 zhaojinpo | Posted 2003-10-18 00:00 |
| 初级用户 Posts 31 Credits 183 | |
|
After compiling my pth multithreading package, the threads always execute sequentially
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |