Re: Fw: Some questions on reentrancy, __DYNAMIC_REENT__ and _impure_ptr
C Howland via Newlib <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CANk6obQFyikJVC1S1WWpahMyUeGdaSaJqOcGmjbjhfhxH_p_1w@mail.gmail.com> |
> > > > ------------------------------ > *From:* Newlib <[email protected]> on behalf of Dave Nadler < > [email protected]> > *Sent:* Friday, April 2, 2021 7:34 AM > *To:* Nick <[email protected]> > *Cc:* [email protected] <[email protected]> > *Subject:* Re: Some questions on reentrancy, __DYNAMIC_REENT__ and > _impure_ptr > > > Thanks Jeff also for answering the mutex question I missed. > One other issue I should have mentioned that becomes more important daily: > If there are multiple processors the simple _impure_ptr mechanism won't > work... > Well, if you ignore the fact you have multiple processors and do nothing about it, then, sure, you'll have problems. But if you manage it (e.g. treating each processor as its own thread, or as independent of each other, etc.), then multiple processors can work fine. (I have such systems working.) Craig