This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Year 2038 problem
- From: Steven Abner <pheonix dot sja at att dot net>
- To: newlib at sourceware dot org
- Date: Mon, 23 Nov 2015 10:36:14 -0500
- Subject: Re: Year 2038 problem
- Authentication-results: sourceware.org; auth=none
On 23 Nov 2015, at 10:03 AM, Eric Blake wrote:
> On 11/21/2015 05:30 PM, Steven Abner wrote:
>
>> I have a solution for 32 bit, if your interested.
>
> This is open source. Post your patches already, and then we're more
> likely to be interested.
>
It a lot of code, and a new approach. If you'd like to view it, http://pheonixos.com/Pheonix/PublishSrc/src/time/
There is no patch, and note that atomic function was only done on i386/64. I tried to make notes specific to
embedded.
And as I said this is older code. New code of the time section works with 28 (I think the number is) different
numeric systems. This was tested where it multi-threads, and not like the norm.
And if you view other code, note that its old and not as fast or updated with newer concepts.
Steve
oops forgot cc, sent to Eric, and R.Diez