> On 21 Oct 2014, at 4:58 pm, Rick Mann wrote:
>
> I'm simulating a device that takes a substantial amount of time to respond to
> a series of REST HTTP request (to support automated testing). I'm writing an
> OS X app to do this. I was trying to avoid running the timer on the main
> thread b
> On Oct 21, 2014, at 01:46 , Ken Thomases wrote:
>
> On Oct 21, 2014, at 3:15 AM, Rick Mann wrote:
>
>> I'm using CocoaHTTPServer and RoutingHTTPServer, and when a request comes
>> in, my handler block is called on some arbitrary thread. The run loop
>> associated with it has kCFRunLoopDefa
On Oct 21, 2014, at 3:15 AM, Rick Mann wrote:
> I'm using CocoaHTTPServer and RoutingHTTPServer, and when a request comes in,
> my handler block is called on some arbitrary thread. The run loop associated
> with it has kCFRunLoopDefaultMode.
>
> I have code that creates an NSTimer and invokes
I'm using CocoaHTTPServer and RoutingHTTPServer, and when a request comes in,
my handler block is called on some arbitrary thread. The run loop associated
with it has kCFRunLoopDefaultMode.
I have code that creates an NSTimer and invokes a block passed to it. This
works fine when called from th