> On Aug 24, 2014, at 12:02 AM, Michael R. Hines <[email protected]> wrote: > > Is it possible for CBL to use "distributed" notifications? Could we get > CBL to post a notification to the distributed notification center and > then receive them on the main thread instead of the current thread?
Distributed notifications are for notifying other processes; you don't need them for other threads. > If we could do that, then I wouldn't have to use the runloop and those > notifications could be processed on another thread that *does* have a > runloop? It wouldn't be appropriate to deliver the notifications on another thread because the objects involved in the notifications (i.e. the CBLReplications) would not be safe to use on that thread. If you want your replication notifications delivered on the main thread, then you should create the replication on that thread. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/36A277D5-516C-4500-99C7-B79E3124A7D7%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
