Commit 996259a8 authored by claes's avatar claes

*** empty log message ***

parent 5c411bc7
/*
* Proview $Id: rt_thread.c,v 1.6 2006-03-29 12:18:16 claes Exp $
* Proview $Id: rt_thread.c,v 1.7 2008-09-16 12:49:37 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -80,7 +80,11 @@ thread_CondInit (
#elif defined OS_LYNX || defined OS_LINUX
return errno_Status(pthread_cond_init(&cp->c, 0));
pthread_condattr_t attr;
pthread_condattr_init(&attr);
return errno_Status(pthread_cond_init(&cp->c, &attr));
#else
# error Not defined for this platform !
......
Markdown is supported
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