mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 09:01:24 +02:00
Do not use pthread_cancel. Instead use EV_EXIT.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -154,6 +154,6 @@ static inline void queue_clear(queue_t *a) {
|
|||||||
}
|
}
|
||||||
extern pthread_t hcore0, hcore1;
|
extern pthread_t hcore0, hcore1;
|
||||||
#define multicore_launch_core1(a) pthread_create(&hcore1, NULL, (void *(*) (void *))a, NULL)
|
#define multicore_launch_core1(a) pthread_create(&hcore1, NULL, (void *(*) (void *))a, NULL)
|
||||||
#define multicore_reset_core1() pthread_cancel(hcore1)
|
#define multicore_reset_core1()
|
||||||
|
|
||||||
#endif // _EMULATION_H_
|
#endif // _EMULATION_H_
|
||||||
|
|||||||
Reference in New Issue
Block a user