I can't find anywhere in the documentation where it distinguishes between "a" main thread vs "the" main thread (ie. the Mac OSX thread 1).
I find several terms in the comments, but I can't find anywhere that specifies which, if any, refer to the special thread 1 on Mac OSX.
- browser process main thread
- main thread
- render process main thread
- main thread (TID_RENDERER)
- UI thread
- browser process UI thread
In addition to the source code comments, the guides don't seem to distinguish between the two either:
https://bitbucket.org/chromiumembedded/ ... er-threadsIt defines the main thread is the thread that cef_initialize is called on, but does not say whether it must be thread 1 on Mac OSX.
The comment for cef_initialize says "This function should be called on the main application thread to initialize", but does not specify whether it should be thread 1.
According to
https://developer.apple.com/library/arc ... mmary.html, most everything can be used from "a" main thread (ie. not thread 1) except for NSView and event handling. It seems like that should allow for an application that uses offscreen rendering to run everything on "a" main thread, but it would be great to have a clearer answer.
Thanks,