Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-09-03
07:37 • Closed ticket [444255ffff]: Thread APIs for Cygwin port. plus 7 other change... artifact: dc1d996123 user: davygrvy
2001-09-02
17:39 • Ticket [444255ffff]: 4 changes artifact: 68a53a5b18 user: davygrvy
2001-08-13
04:32 • Ticket [444255ffff]: 1 change artifact: 9619f829f9 user: mdejong
2001-07-25
03:37 • Add attachment createthread.patch to ticket [444255ffffffffff|444255fff... artifact: a5faddf629 user: mdejong
03:37 • Ticket [444255ffff] Thread APIs for Cygwin port. status still Open with 4 ot... artifact: 92a8be3cfa user: mdejong
2001-07-24
20:37 • New ticket [444255ffff]. artifact: b48b17a323 user: mdejong

Thread APIs for Cygwin port.

Closed / Fixed444255ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-07-24 20:37:47
Here is a patch to implement Cygwin support
for threading. Cygwin does not have the
_beginthreadex and _endthreadex methods.
Instead, it uses the CreateThread and
ExitThread APIs directly. Cygwin uses
a different runtime than msvcrt so it should
not suffer from the runtime memory leaks
that haunt the msvcrt code.


2001-07-24  Mo DeJong  <[email protected]>

        * win/tclWinThrd.c (Tcl_CreateThread,
TclpThreadExit):
        When building under Cygwin, call CreateThread
instead
        of _beginthreadex and call ExitThread instead
of
        _endthreadex. Cygwin does not support these
msvcrt
        methods and does not suffer from the memory
leak
        problems that prompted their use.
mdejongplain2001-07-25 03:37:48
File Added - 8811: createthread.patch
mdejong Ticket [444255ffff]: 1 change [History diff]2001-08-13 04:32:56
davygrvyplain2001-09-02 17:39:47
Logged In: YES 
user_id=7549

>Cygwin uses 
>a different runtime than msvcrt so it should 
>not suffer from the runtime memory leaks 
>that haunt the msvcrt code.

haunt?  get it straight.  I don't pick on other peoples 
OSes, so shut your trap.

1) msvcrt use thread specific data.
2) needs to track when a thread starts.
3) needs to know when a thread goes away.

keep your tainted opinions to yourself.
davygrvyplain2001-09-03 07:37:54
Logged In: YES 
user_id=7549

committed to HEAD.
Log in (anonymous is fine) to add a comment.

Attachments: