2022-05-13 11:45:40 +00:00
|
|
|
#ifndef LUMENARIUM_RASPI_THREADS_H
|
|
|
|
#define LUMENARIUM_RASPI_THREADS_H 1
|
|
|
|
|
|
|
|
Thread_Handle
|
|
|
|
os_thread_begin(Thread_Proc* proc, u8* user_data)
|
|
|
|
{
|
|
|
|
invalid_code_path;
|
|
|
|
return Thread_Handle{0};
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
os_thread_end(Thread_Handle thread_handle)
|
|
|
|
{
|
|
|
|
invalid_code_path;
|
|
|
|
}
|
|
|
|
|
|
|
|
u32
|
|
|
|
os_interlocked_increment(volatile u32* value)
|
|
|
|
{
|
|
|
|
invalid_code_path;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-08-21 23:34:15 +00:00
|
|
|
bool
|
|
|
|
os_interlocked_cmp_exchg(volatile u32* dest, u32 old_value, u32 new_value)
|
2022-05-13 11:45:40 +00:00
|
|
|
{
|
|
|
|
invalid_code_path;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif // LUMENARIUM_RASPI_THREADS_H
|