Implement Mutexes and supporting syscalls, cleanup/optimize scheduler
All checks were successful
Build documentation / build-and-deploy (push) Successful in 39s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 39s
This commit is contained in:
10
init/init.c
10
init/init.c
@@ -15,4 +15,14 @@ void app_main (void) {
|
||||
m_proc_unmap (M_PROC_MAP_BASE, 16);
|
||||
|
||||
m_proc_drop_resource (mem_rid);
|
||||
|
||||
/* m_proc_test (); */
|
||||
|
||||
int mutex_rid = m_proc_create_resource_mutex (RV_PRIVATE);
|
||||
|
||||
m_proc_mutex_lock (mutex_rid);
|
||||
/* m_proc_test (); */
|
||||
m_proc_mutex_unlock (mutex_rid);
|
||||
|
||||
/* m_proc_test (); */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user