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@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-boun...@rtems.org> on behalf of Heinz Junkes 
<jun...@fhi-berlin.mpg.de>
Date: Saturday 25 September 2021 at 11:23
To: Rtems users <rtems-us...@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@rtems.org
    http://lists.rtems.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to