[OpenSIPS-Devel] [OpenSIPS/opensips] a2d72b: Get rid of outdated sched_yield.h temporary wrapper

Liviu Chircu noreply at github.com
Fri Jun 23 15:23:17 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a2d72ba56391d54d7d383d7f8e9a7ccf8416e0b7
      https://github.com/OpenSIPS/opensips/commit/a2d72ba56391d54d7d383d7f8e9a7ccf8416e0b7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M Makefile.defs
    M fastlock.h
    M modules/event_stream/event_stream.h
    M modules/event_xmlrpc/event_xmlrpc.h
    M pt.c
    R sched_yield.h

  Log Message:
  -----------
  Get rid of outdated sched_yield.h temporary wrapper

The main utility of "sched_yield.h" was to provide sched_yield() on
OS'ed which didn't have it back in 2007, such as OpenBSD and NetBSD.

Nowadays, the landscape is different, with the issue having been fixed
in both above OS'es.  Moreover, by getting rid of the wrapper, we avoid
"missing -DHAVE_SCHED_YIELD" problems on architectures such as ARM (see
commit f8ad265a70f, where the issue was caused by this wrapper header
exclusively).





More information about the Devel mailing list