mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 06:06:17 +02:00
* reverted r11671 because it breaks tthread.waitfor on unix
git-svn-id: trunk@11731 -
This commit is contained in:
parent
fb8ffb0b99
commit
4f5513466a
@ -242,7 +242,8 @@ Type PINTRTLEvent = ^TINTRTLEvent;
|
|||||||
writeln('Jumping to thread function');
|
writeln('Jumping to thread function');
|
||||||
{$endif DEBUG_MT}
|
{$endif DEBUG_MT}
|
||||||
ThreadMain:=pointer(ti.f(ti.p));
|
ThreadMain:=pointer(ti.f(ti.p));
|
||||||
EndThread(0);
|
DoneThread;
|
||||||
|
pthread_exit(ThreadMain);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user