Differences From Artifact [0345d05eb1]:
- File
src/SSLSocket.m
— part of check-in
[3062d2861f]
at
2012-11-08 13:19:44
on branch trunk
— Use the thread object's address as thread id.
This at least works inside OFThreads. The previous solution to use a
pthread_t was not portable, as on many systems, pthread_t is a struct. (user: js, size: 10225) [annotate] [blame] [check-ins using]
To Artifact [eff32f791e]:
- File src/SSLSocket.m — part of check-in [1b97015301] at 2012-12-13 20:55:31 on branch trunk — Set of_tls_socket_class. (user: js, size: 10212) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
74 75 76 77 78 79 80 | else of_mutex_unlock(&ssl_mutexes[n]); } @implementation SSLSocket + (void)load { | | | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | else of_mutex_unlock(&ssl_mutexes[n]); } @implementation SSLSocket + (void)load { of_tls_socket_class = self; } + (void)initialize { int m; if (self != [SSLSocket class]) |
︙ | ︙ |