Computing.Net > Forums > Programming > POSIX thread on solaris

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

POSIX thread on solaris

Reply to Message Icon

Name: madman
Date: October 9, 2002 at 16:32:17 Pacific
OS: unix
CPU/Ram: 45555
Comment:

Is there any difference of posix thread programming between solaris and linux?
My programs run on linux ,but not solaris even the simple one print out "hello" in the thread will not run property. All programs ignore the
thread and execute only main routine on solaris.
Does anyone have any idea?



Sponsored Link
Ads by Google

Response Number 1
Name: Seb
Date: November 14, 2002 at 10:36:54 Pacific
Reply:

Mmmmh... try to print on stderr within your thread. Solaris does not fflush automatically (fprintf(stderr, "hello");


0
Reply to Message Icon

Related Posts

See More


ASP And Scripts VB6 + Access2K mdb not co...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: POSIX thread on solaris

multi-threaded in C www.computing.net/answers/programming/multithreaded-in-c/2289.html

Threads in C++ www.computing.net/answers/programming/threads-in-c/13394.html

stacktrace in C program on Solaris8 www.computing.net/answers/programming/stacktrace-in-c-program-on-solaris8/15177.html