]> rtime.felk.cvut.cz Git - frescor/frsh.git/commit
Better dealing with attr = NULL bug.
authorDario Faggioli <faggioli@gandalf.sssup.it>
Fri, 27 Feb 2009 00:50:24 +0000 (01:50 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 1 Mar 2009 19:12:02 +0000 (20:12 +0100)
commit80bfd220024c236e5603b12d0ac00e542b8fe22c
tree30a43fb802e8177d57de550ec83c3c0d1d24eec3
parent048236e4599a4317fd46ef823fa12d53f75d7267
Better dealing with attr = NULL bug.

Differently cope with the possibility of the thread attributes being
NULL during thread_create_and_bind. This new solution initializes it
internally, thus avoiding a potential non-initialized used of variable
p, containing thread priority.
resources/cpucg/lib/frsh_cpucg.c