* Registers work objects, by adding the work object to a liked list. * @param w Handle to hb_work_object_t to register. */
| 171 | * @param w Handle to hb_work_object_t to register. |
| 172 | */ |
| 173 | void hb_register( hb_work_object_t * w ) |
| 174 | { |
| 175 | w->next = hb_objects; |
| 176 | hb_objects = w; |
| 177 | } |
| 178 | |
| 179 | void (*hb_log_callback)(const char* message); |
| 180 | static void redirect_thread_func(void *); |