Overview
Comment: | Move platform-specific threading stuff to threading.h. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
15a67e8ee5133ee931cde4d4244a865d |
User & Date: | js on 2009-09-21 11:15:27 |
Other Links: | manifest | tags |
Context
2009-09-21
| ||
11:26 | Only check if snprintf returns required space if there's no asprintf. check-in: a6513f3228 user: js tags: trunk | |
11:15 | Move platform-specific threading stuff to threading.h. check-in: 15a67e8ee5 user: js tags: trunk | |
2009-09-17
| ||
13:40 | Update config.guess, config.sub and install-sh. check-in: c74def94fc user: js tags: trunk | |
Changes
Modified src/Makefile from [862b2d6a24] to [6fdc4aab1f].
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + + | OFXMLElement.m \ OFXMLParser.m INCLUDESTMP := ${SRCS:.c=.h} INCLUDES := ${INCLUDESTMP:.m=.h} \ OFMacros.h \ asprintf.h \ |
Modified src/OFAutoreleasePool.m from [992a58ee6a] to [2c07550cc7].
︙ | |||
9 10 11 12 13 14 15 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | - - - - - - + + - - + - - - - + - - - - - - + - - - - - + + - - - - - - - - - + - - + - - - - + - - + - + + + - - - - - - + + - - - - - + - - + - - - - + - - - - - + - - + - - - - + + - - - - - - + + + - | * the packaging of this file. */ #include "config.h" #include <stdlib.h> |
︙ |
Modified src/OFExceptions.m from [a8fc13d28b] to [77ebe09448].
︙ | |||
981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 | 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 | + | @"Joining a thread of class %s failed! Most likely, another thread " @"already waits for the thread to join.", [class className]]; return string; } @end /* FIXME: Not needed anymore? */ @implementation OFThreadCanceledException - (OFString*)string { if (string != nil) return string; string = [[OFString alloc] initWithFormat: @"The requested action cannot be performed because the thread of " @"class %s was canceled!", [class className]]; return string; } @end |
Modified src/OFThread.h from [36e8a35200] to [894be3846a].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | - + - - - - - + - - + - - - - + - + - - + - - - | /* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ |
︙ | |||
113 114 115 116 117 118 119 | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | - - + - - - | @end /** * A class for creating mutual exclusions. */ @interface OFMutex: OFObject { |
︙ |
Modified src/OFThread.m from [1a195479da] to [72efe40c4e].
︙ | |||
10 11 12 13 14 15 16 | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | - - - - - - + + - - - + + + - - + + + + - - + - - - - + - - - - + - - - - - - - - - - - - - - - - - - - + - - - - - + - - - - + - - - - - - - - - - - - - - - + - - - - - - - + - + - - - - + - - - - + + + - - + - - - - - + - - - - - + - - - - - + - - - | */ #include "config.h" #import "OFThread.h" #import "OFExceptions.h" |
Modified src/objc_sync.m from [8a15b08565] to [441808ccaa].
︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | - - - - - - - - - + - - - + + - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + - - + + - - - + + + + - - + + - + - - + + - + - + - + - - - + + + - - - + + + - - + + - - + + - + - - + + - - - + + + - - - + + + + - + - - + + - + | #include "config.h" #include <stdio.h> #include <stdlib.h> #include <assert.h> |
Added src/threading.h version [fc8a803188].