/* * Copyright (c) 2002-3, Intel Corporation. All rights reserved. * Created by: salwan.searty REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. * Test that the pthread_kill() function shall return 0 upon success. */ #include #include #include #include #include #include "posixtest.h" int main() { pthread_t main_thread; main_thread = pthread_self(); if (pthread_kill(main_thread, 0) != 0) { printf("pthread_kill did not return success.\n"); return PTS_UNRESOLVED; } printf("Test PASSED\n"); return PTS_PASS; }