Subversion Repositories HelenOS-historic

Rev

Rev 115 | Rev 184 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 115 Rev 125
Line 144... Line 144...
144
         * If there are idle halted CPU's, this will wake them up.
144
         * If there are idle halted CPU's, this will wake them up.
145
         */
145
         */
146
        ipi_broadcast(VECTOR_WAKEUP_IPI);
146
        ipi_broadcast(VECTOR_WAKEUP_IPI);
147
    }  
147
    }  
148
    spinlock_unlock(&cpu->lock);
148
    spinlock_unlock(&cpu->lock);
149
   
149
 
150
    cpu_priority_restore(pri);
150
    cpu_priority_restore(pri);
151
}
151
}
152
 
152
 
153
 
153
 
154
/** Create new thread
154
/** Create new thread
Line 275... Line 275...
275
 * @param sec Number of seconds to sleep.
275
 * @param sec Number of seconds to sleep.
276
 *
276
 *
277
 */
277
 */
278
void thread_sleep(__u32 sec)
278
void thread_sleep(__u32 sec)
279
{
279
{
280
        thread_usleep(sec*1000000);
280
    thread_usleep(sec*1000000);
281
}
281
}
282
 
282
 
283
 
283
 
284
/** Thread usleep
284
/** Thread usleep
285
 *
285
 *