ObjFW  Check-in [5b37fbeb82]

Overview
Comment:Return error instead of using errno for threading

errno is problematic for Amiga libraries and is also not thread-safe on
some systems, even though it should.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5b37fbeb824bb945405ba0cbab7658a52717997818554669d1a23b69a85359de
User & Date: js on 2020-12-20 21:26:08
Other Links: manifest | tags
Context
2020-12-20
21:29
runtime: Remove errno from Amiga library check-in: 8c90e88939 user: js tags: trunk
21:26
Return error instead of using errno for threading check-in: 5b37fbeb82 user: js tags: trunk
16:59
runtime: Fix typo check-in: aba0e87ac3 user: js tags: trunk
Changes

Modified src/OFBlock.m from [d3c798f275] to [ada45ac629].    [diff]

Modified src/OFCondition.m from [24791db544] to [53f832df7b].    [diff]

Modified src/OFMutex.m from [2c5bdb0793] to [4c3fd1c33e].    [diff]

Modified src/OFObject.m from [dfafb38c1f] to [d5d0a02ee8].    [diff]

Modified src/OFRecursiveMutex.m from [3739c89b37] to [e5da5416e7].    [diff]

Modified src/OFSecureData.m from [7de8ab3a25] to [a977d1a98b].    [diff]

Modified src/OFThread.m from [fe4bfba4ee] to [7d209d5958].    [diff]

Modified src/condition.h from [ed39b78cbd] to [cbe5713cf5].    [diff]

Modified src/exceptions/OFException.m from [bf7ff24437] to [aa89efc62e].    [diff]

Modified src/mutex.h from [cbacd2f77f] to [5c06ee482b].    [diff]

Modified src/platform/amiga/condition.m from [022f3487c0] to [e63442b656].    [diff]

Modified src/platform/amiga/mutex.m from [c8d24f47bf] to [53f62a4365].    [diff]

Modified src/platform/amiga/thread.m from [1416763f86] to [020e13328a].    [diff]

Modified src/platform/amiga/tlskey.m from [c1bdeb2ced] to [55fe5cc12c].    [diff]

Modified src/platform/morphos/tlskey.m from [b6a6f32a2b] to [ac011a1581].    [diff]

Modified src/platform/posix/condition.m from [59d3a90643] to [d7af2c3e9e].    [diff]

Modified src/platform/posix/mutex.m from [608d6df3a8] to [9dc6dfa8c4].    [diff]

Modified src/platform/posix/thread.m from [cdd7c510a1] to [08a22e6008].    [diff]

Modified src/platform/posix/tlskey.m from [01a5f7adde] to [b21f6b68b0].    [diff]

Modified src/platform/windows/condition.m from [848a636ef0] to [bcc658da38].    [diff]

Modified src/platform/windows/mutex.m from [c67aeb237e] to [872d7f229b].    [diff]

Modified src/platform/windows/thread.m from [d3d9eb9ec8] to [ea501b1747].    [diff]

Modified src/platform/windows/tlskey.m from [c8aecc8bc3] to [a76af40888].    [diff]

Modified src/runtime/arc.m from [4544515edf] to [0378415cdf].    [diff]

Modified src/runtime/autorelease.m from [e5ceb906d0] to [0e5c7aa48b].    [diff]

Modified src/runtime/exception.m from [3255d28641] to [50eac6751c].    [diff]

Modified src/runtime/property.m from [6195775ed5] to [ead25184a1].    [diff]

Modified src/runtime/synchronized.m from [106c451b62] to [8b8ee09700].    [diff]

Modified src/runtime/threading.m from [e792c643b3] to [4a1cc07735].    [diff]

Modified src/socket.m from [d03343d8fd] to [7f38594dbe].    [diff]

Modified src/thread.h from [bf84b7cea6] to [821c6c8243].    [diff]

Modified src/tlskey.h from [19e6f1fad4] to [bf467b6736].    [diff]