rtems_semaphore routines on SMP systems

Andrew.Butterfield at scss.tcd.ie Andrew.Butterfield at scss.tcd.ie
Sat Sep 25 13:30:29 UTC 2021


Yes,
  if you #define RTEMS_SMP you can use the MrsP protocol (for example) by calling
 rtems_semaphore_create with an attribute set containing 
RTEMS_PRIORITY  | RTEMS_BINARY_SEMAPHORE  | RTEMS_MULTIPROCESSOR_RESOURCE_SHARING.

You can then use rtems_semaphore_obtain, rtems_semaphore_release
, rtems_semaphore_delete and others in the usual way.

Best Regards,
 Andrew Butterfield


--------------------------------------------------------------------
Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
Lero at TCD, Head of Software Foundations & Verification Research Group
School of Computer Science and Statistics,
Room G.39, O'Reilly Institute, Trinity College, University of Dublin
                         http://www.scss.tcd.ie/Andrew.Butterfield/
--------------------------------------------------------------------
 

-----Original Message-----
From: users <users-bounces at rtems.org> on behalf of Heinz Junkes <junkes at fhi-berlin.mpg.de>
Date: Saturday 25 September 2021 at 11:23
To: Rtems users <rtems-users at rtems.org>
Subject: rtems_semaphore routines on SMP systems


    Can the rtems_semaphore_*() routines be used on SMP systems?

    Viele Grüße
    Heinz
    _______________________________________________
    users mailing list
    users at rtems.org
    http://lists.rtems.org/mailman/listinfo/users



More information about the users mailing list