mazen Adel commented on a discussion on testsuites/psxtests/psxhdrs/pthread/pthread_mutex_clocklock.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124397 > + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS > + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN > + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF > THE > + * POSSIBILITY OF SUCH DAMAGE. > + */ > + > +#define _POSIX_C_SOURCE 202405L > + > +#ifdef HAVE_CONFIG_H > +#include "config.h" > +#endif > + > +#include <pthread.h> > + > +#ifndef _POSIX_THREADS changed it in the 4 pthread functions as follows 1. pthread_cond_clockwait(): \_POSIXTHREADS 2. pthread_mutex_clocklock(): \_POSIXTHREADS 3. pthread_rwlock_clockwrlock(): \_POSIX_READER_WRITER_LOCKS 4. pthread_rwlock_clockrdlock(): \_POSIX_READER_WRITER_LOCKS -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124397 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
