]> src.bluestatic.org Git - macgdbp.git/commit
Threads can't communicate with each other and call methods on each other's objects...
authorRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 05:30:49 +0000 (22:30 -0700)
committerRobert Sesek <rsesek@bluestatic.org>
Fri, 3 Aug 2007 05:30:49 +0000 (22:30 -0700)
commit8199a38fe6a5e49214479b1c96a344e30a2b6200
treed0160df604c6438606407cbde44a50e54352ce5f
parent05a11cf00200aaaa11bcde9c0efa2bc88b14b57e
Threads can't communicate with each other and call methods on each other's objects, so we do have to use notifications.

* Source/SocketWrapper.h: Defining some of the notification constants
* Source/SocketWrapper.m:
([SocketWrapper _connect:]): Use the new notification system
([SocketWrapper _postNotification:withObject:]): Helper method for posting notifications
([SocketWrapper setDelegate:]): Register the delegate for these new notifications
* Source/DebuggerConnection.m:
([DebuggerConnection socketDidAccept:]): Made notification compatible
Source/DebuggerConnection.m
Source/SocketWrapper.h
Source/SocketWrapper.m