Adrien Destugues 4242b95701 BLooper: API to hijack existing thread.
I need this to use loopers in WebKit, which spawns threads and expects
to be able to turn them into event loops later on.

This is the pattern already used in BApplication, we may as well make it
available elsewhere.

Change-Id: I5939ca89d33cb3bcc92567b302c2038d976af598
Reviewed-on: https://review.haiku-os.org/735
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
(cherry picked from commit e6b4b94513411ee6b66bc252dad3a9cec7b2220e)
Reviewed-on: https://review.haiku-os.org/749
2018-12-02 21:37:13 +00:00
..
2017-11-09 13:23:55 -08:00
2014-06-11 16:45:07 -04:00
2015-03-25 11:30:01 -04:00
2017-11-09 13:23:55 -08:00
2017-11-09 13:23:55 -08:00
2017-10-01 11:19:37 -04:00