Changeset 637 for trunk/kernel/syscalls/sys_thread_detach.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_thread_detach.c
r566 r637 2 2 * sys_thread_detach.c - detach a joinable thread 3 3 * 4 * Authors Alain Greiner (2016,2017 )4 * Authors Alain Greiner (2016,2017,2018,2019) 5 5 * 6 * Copyright (c) 2011,2012UPMC Sorbonne Universites6 * Copyright (c) UPMC Sorbonne Universites 7 7 * 8 8 * This file is part of ALMOS-MKH. … … 48 48 49 49 // check trdid argument 50 if( (target_ltid >= CONFIG_THREADS_MAX_PER_CLUSTER) || cluster_is_undefined( target_cxy ) ) 50 if( (target_ltid >= CONFIG_THREADS_MAX_PER_CLUSTER) || 51 (cluster_is_active( target_cxy ) == false) ) 51 52 { 52 53 printk("\n[ERROR] in %s : illegal trdid argument\n", __FUNCTION__ );
Note: See TracChangeset
for help on using the changeset viewer.