Ravenbrook / Projects / Memory Pool System / Issues

Memory Pool System


MPS issue job001622

Title: Client can't multithread on OS X.
Status: closed
Priority: essential
Assigned user: David Jones
Product: mps
Organization: Ravenbrook
Description: Client can't multithread on OS X.

Multithreaded clients will crash MPS. Well, unless they implement
their own locking.

Clients that wish to register the stacks of more than one thread
will also need an MPS with a working thread module. See
job001621
Analysis: Need a lock implementation for OS X.

Probably the POSIXy one in lockfr.c is POSIXy enough for OS X.

Testing by drj on 2007-02-20 indicates that when lockfr.c is
modified to remove its #if tests for being compiled on FreeBSD
it works just fine on OS X without any other modifcations.

2007-03-12 DRJ

Implemented lockix.c on Darwin as a more-or-less straight copy of
lockfr.c (which will be removed as part of job001636).
How found: unknown
Evidence: none
Observed in: 1.107.0
Introduced in: 0.0.0
Test procedure: none
Created by: David Jones
Created on: 2007-02-20 13:46:00
Last modified by: David Jones
Last modified on: 2007-03-12 10:01:50
History: 2007-02-20 DRJ Created.
2007-03-12 DRJ Closed.

Fixes

Change Effect Date User Description
161915 closed 2007-03-12 09:58:44 David Jones MPS: locks for Darwin (OS X).

Generated at 2008-09-06 23:49:52 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $

Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may not duplicate or reproduce this document in any form without the express permission of the copyright holder.

Ravenbrook / Projects / Memory Pool System / Issues