lkml.org 
[lkml]   [2004]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    Subjectcalling kthread_create() from interrupt thread
    From
    I'm working on a driver that needs to create threads that can sleep/block
    for an indefinite period of time.

    . Can kthread_create() be called from an interrupt handler?

    . Is the cost of a kthread's creation/demise low enough so that one
    can, as often as needed, create a kthread that performs a simple
    function and exits? Or is the cost too high for this?

    Thanks,
    Dean
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.024 / U:30.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site