Differences From Artifact [c57285f4e8]:
- File src/platform/AmigaOS/OFPlainThread.m — part of check-in [18caed047e] at 2022-11-15 23:04:52 on branch trunk — Use OFLog() for OFEnsure() (user: js, size: 4525) [annotate] [blame] [check-ins using] [more...]
To Artifact [b331f7b6f5]:
- File
src/platform/AmigaOS/OFPlainThread.m
— part of check-in
[c86b8f10f0]
at
2022-11-16 01:27:26
on branch trunk
— Add OFAssert()
This uses the same format as OFEnsure(). (user: js, size: 4507) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
11 12 13 14 15 16 17 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" | < | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #include <errno.h> #import "OFPlainThread.h" #import "OFData.h" #import "OFString.h" #import "OFTLSKey.h" |
︙ | ︙ | |||
190 191 192 193 194 195 196 | } @finally { ReleaseSemaphore(&thread->semaphore); } Wait(1ul << thread->joinSigBit); FreeSignal(thread->joinSigBit); | | | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | } @finally { ReleaseSemaphore(&thread->semaphore); } Wait(1ul << thread->joinSigBit); FreeSignal(thread->joinSigBit); OFAssert(thread->done); free(thread); return 0; } int OFPlainThreadDetach(OFPlainThread thread) |
︙ | ︙ |