Confirmed users
51
edits
Line 343: | Line 343: | ||
= Threading Model = | = Threading Model = | ||
One of the goal of the architecture is to provide an easy way to create multi-threaded applications via bridge abstractions | One of the goal of the architecture is to provide | ||
* an easy way to create multi-threaded applications via bridge abstractions | |||
* a workaround to make main-thread-only APIs available to worker threads | |||
That said | That said it's hard to predict which threading model will fit better on which device. So the architecture is intended to be flexible and run on different threading models based on runtime metrics such as the available number of cores and the available memory of the device. | ||
This should let us use different threading model on a per hardware basis based on a configuration file per app. | This should let us use different threading model on a per hardware basis based on a configuration file per app. |