| 384 | } |
| 385 | |
| 386 | static int |
| 387 | ff_sys_register_thread(struct ff_register_application_args *args) |
| 388 | { |
| 389 | /* New user application, use default thread0 */ |
| 390 | args->sc->ff_thread_handle = ff_adapt_user_thread_add(NULL); |
| 391 | |
| 392 | if (args->sc->ff_thread_handle == NULL) { |
| 393 | return -1; |
| 394 | } |
| 395 | |
| 396 | return 0; |
| 397 | } |
| 398 | |
| 399 | static int |
| 400 | ff_sys_exit_thread(struct ff_exit_application_args *args) |
no test coverage detected