MozillaReality / servo-unity

INACTIVE - Servo for Unity - experimental
Other
317 stars 93 forks source link

Clarify threading model of libsimpleservo callbacks and implemented task queue #1

Closed philip-lamb closed 4 years ago

philip-lamb commented 4 years ago

Unity API can be invoked only on main thread, so any callbacks on non-main threads that should invoke Unity API will need to be handed off to a task queue on main thread.

paulrouget commented 4 years ago

That's a situation we have with other platforms. What type of callbacks are problematic?

philip-lamb commented 4 years ago

Fixed in c78956bfc063a42c156262b56259aff8d387951c