Subversion Repositories HelenOS-historic

Rev

Rev 1709 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1709 Rev 1781
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
 /** @addtogroup libc
29
/** @addtogroup libc
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#include <thread.h>
35
#include <thread.h>
36
#include <libc.h>
36
#include <libc.h>
37
#include <stdlib.h>
37
#include <stdlib.h>
38
#include <arch/faddr.h>
38
#include <libarch/faddr.h>
39
#include <kernel/proc/uarg.h>
39
#include <kernel/proc/uarg.h>
40
#include <psthread.h>
40
#include <psthread.h>
41
#include <string.h>
41
#include <string.h>
42
#include <async.h>
42
#include <async.h>
43
 
43
 
Line 150... Line 150...
150
void thread_exit(int status)
150
void thread_exit(int status)
151
{
151
{
152
    __SYSCALL1(SYS_THREAD_EXIT, (sysarg_t) status);
152
    __SYSCALL1(SYS_THREAD_EXIT, (sysarg_t) status);
153
}
153
}
154
 
154
 
155
 
-
 
156
 
-
 
157
 /** @}
155
/** @}
158
 */
156
 */
159
 
157
 
160
 
158