Skip to content
Snippets Groups Projects
Commit 417f5486 authored by deuce's avatar deuce
Browse files

Mutex protect the mouse I/O lists.

parent 1b931eeb
Branches
Tags
No related merge requests found
......@@ -103,8 +103,8 @@ void init_mouse(void)
memset(&state,0,sizeof(state));
state.click_timeout=0;
state.multi_timeout=300;
listInit(&state.input,LINK_LIST_SEMAPHORE);
listInit(&state.output,LINK_LIST_SEMAPHORE);
listInit(&state.input,LINK_LIST_SEMAPHORE|LINK_LIST_MUTEX);
listInit(&state.output,LINK_LIST_SEMAPHORE|LINK_LIST_MUTEX);
ciolib_mouse_initialized=1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment