Commit 59ec6117 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Use BLC PTHREAD CHECK instead of SYSTEM ERROR CHECK

parent 32d02c03
......@@ -223,7 +223,7 @@ void blc_command_loop_init(long loop_period){
blc_command_add("|", (type_blc_command_cb)blc_command_send_to_stdout, "command", "send the command to stdout", NULL);
blc_command_add("&", (type_blc_command_cb)blc_command_send_to_all, "command", "intepret caommdn and send it to stdout", NULL);
SYSTEM_ERROR_CHECK(pthread_create(&loop_thread, NULL, command_thread_interpret_loop, NULL), -1, NULL);
BLC_PTHREAD_CHECK(pthread_create(&loop_thread, NULL, command_thread_interpret_loop, NULL), NULL);
}
int blc_command_loop_start(){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment