This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with pthreads and signaling, behavior broken...


On Tue, Dec 09, 2003 at 03:01:56AM +0000, Arash Partow wrote:
>Hello Sherly,
>
>I haven't tried the ThreadTest on a solaris system however ive e-mailed
>someone that does have access to one, they will try it i'll get the results
>back to you, but out of interest what do you think the solaris system will
>do? and how do you think that behaviour will relate to cygiwn?

I must admit that I'm mystified as to what this test is trying to accomplish
but I've modified it so that it will terminate more quickly when a
signal is delivered, rather than continuing to create threads after
CTRL-C is pressed and added some more debugging output.

I've attached the modified source to this message.  I also modified the
Makefile so that it created ThreadTest.exe by default.

cgf

Attachment: Makefile
Description: Text document

Attachment: Mutex.cpp
Description: Text document

Attachment: Mutex.h
Description: Text document

Attachment: StringTokenizer.cpp
Description: Text document

Attachment: StringTokenizer.h
Description: Text document

Attachment: Thread.cpp
Description: Text document

Attachment: Thread.h
Description: Text document

Attachment: ThreadTestPrototype.cpp
Description: Text document

Attachment: readme.txt
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]