mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 23:09:18 +02:00
* theapthread test: put the sleep in the right place to increase odds of freeing after other thread exit
git-svn-id: trunk@7651 -
This commit is contained in:
parent
b667ea06ba
commit
2bcbebc438
@ -83,8 +83,8 @@ begin
|
||||
end;
|
||||
end;
|
||||
freearray(p, sizeof(p) div sizeof(pointer));
|
||||
sleep(200);
|
||||
entercriticalsection(freefifolock);
|
||||
sleep(200);
|
||||
freearray(fifo, sizeof(fifo) div sizeof(pointer));
|
||||
freemem(shared);
|
||||
leavecriticalsection(freefifolock);
|
||||
|
Loading…
Reference in New Issue
Block a user