Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
*** 8,18 ****
* source. A copy of the CDDL is also available via the Internet at
* http://www.illumos.org/license/CDDL.
*/
/*
! * Copyright 2017 Joyent, Inc.
*/
/*
* Validate various C11 threads routines. Specifically we want to cover:
*
--- 8,18 ----
* source. A copy of the CDDL is also available via the Internet at
* http://www.illumos.org/license/CDDL.
*/
/*
! * Copyright 2019 Joyent, Inc.
*/
/*
* Validate various C11 threads routines. Specifically we want to cover:
*
*** 170,180 ****
static int
cthr_test_detach_thr0(void *arg)
{
thrd_exit(23);
- abort();
}
static int
cthr_test_detach_thr1(void *arg)
{
--- 170,179 ----