lkml.org 
[lkml]   [1999]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel_thread...
On Tue, 8 Jun 1999, Raj, Ashok wrote:

> once we have created a kernel_thread(), and when i decide to terminate
> that thread, and send a send_sig(), how would the kernel_thread
> termininate itself
>
> should we call the syscall_table[__NR_exit]? or just a return from that
> procedure would cleanup the process tables?

Just return (your error code) from the routine.

-bp
--
# bryan at terran dot org
# http://www.terran.org/~bryan



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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.077 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site