rtems-examples posix_api does not work with simulators/emulators like qemu and sis

Heinz Junkes junkes at fhi-berlin.mpg.de
Sat Apr 10 10:16:04 UTC 2021


In rtems-examples/posix_api the examples

psx_example_[123] do not work as they should (especially timing).

E.g. in psx_example_1 the sleep(1) is ignored by sparc-rtems6-sis -rt … .
With qemu-system-arm -M xilinx-zynq-a9 the "sleep" at least works.

With both simulators/emulators psx_example_2 gets stuck ( probably in pthread_join (child, NULL) ).

BTW: in this example pthread_cond_timedwait() return “1” !. In the documentation one can find
Should return “0” if ok, EINVAL or ETIMDOUT on failure.

psx_example_3 works, but timing is totally ignored.

Heinz


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2542 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20210410/29e3cd3b/attachment.bin>


More information about the users mailing list