This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SPDX-License-Identifier: BSD-2-Clause */ | |
/* | |
* Copyright (C) 2021 Matthew Joyce | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* 1. Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* 2. Redistributions in binary form must reproduce the above copyright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Prototype added to Newlib/libc/include/sys/signal.h */ | |
/* Using __MISC_VISIBLE until POSIX Issue 8 is officially released */ | |
#if __MISC_VISIBLE | |
/* POSIX Issue 8 adds sig2str() and str2sig() */ | |
#if __STDINT_EXP(INT_MAX) > 0x7fff | |
#define SIG2STR_MAX (sizeof("RTMAX+") + sizeof("4294967295") - 1) | |
#else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Prototypes for the following new *clock methods added to Newlib | |
* libc/include/pthread.h */ | |
#if __GNU_VISIBLE | |
/* The Issue 8 standard adds pthread_mutex_clocklock() */ | |
int pthread_mutex_clocklock(pthread_mutex_t *__restrict, clockid_t, | |
const struct timespec *__restrict); | |
#endif /* __GNU_VISIBLE */ | |
#if __GNU_VISIBLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @file | |
* @brief pthread_cond_clockwait() API Conformance Test | |
*/ | |
/* | |
* Copyright (C) 2021 Matthew Joyce | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @file | |
* @brief pthread_mutex_clocklock() API Conformance Test | |
*/ | |
/* | |
* Copyright (C) 2021 Matthew Joyce | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @file | |
* @brief pthread_rwlock_clockrdlock() API Conformance Test | |
*/ | |
/* | |
* Copyright (C) 2021 Matthew Joyce | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @file | |
* @brief pthread_rwlock_clockwrlock() API Conformance Test | |
*/ | |
/* | |
* Copyright (C) 2021 Matthew Joyce | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SPDX-License-Identifier: BSD-2-Clause */ | |
/** | |
* @file | |
* @brief Header File Conformance Test | |
* | |
* This test file is used to verify that the header files associated with | |
* invoking this function are correct. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SPDX-License-Identifier: BSD-2-Clause */ | |
/** | |
* @file | |
* @brief Test of sig2str and str2sig methods | |
* | |
* This test file is used to verify that the methods sig2str and str2sig | |
* are functioning as expected | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2021 Matthew Joyce | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* 1. Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* 2. Redistributions in binary form must reproduce the above copyright | |
* notice, this list of conditions and the following disclaimer in the |
OlderNewer