__fini__
[Thread Prev] | [Thread Next]
- Subject: __fini__
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Tue, 26 Feb 2019 13:11:42 -0800
- To: myrddin-dev@xxxxxxxxxxxxxx
Myrddin has supported '__init__' functions called after main for a long time. I just committed '__fini__' functions, which work much the same way but are called after main. There are a couple of bugs left to fix -- specifically, they should be called in reverse dependency order, and they should be triggered by `std.exit()`. Documentation and bugfixes are coming. I added them so we could do things like waiting for all threads to exit in libthread, but I'm sure there are other places they'll be handy. -- Ori Bernstein <ori@xxxxxxxxxxxxxx>
Re: __fini__ | Ori Bernstein <ori@xxxxxxxxxxxxxx> |
- Prev by Date: Re: [PATCH 3/3] Handle (-1) + (1) and (-3) - (-2) with bigints
- Next by Date: Re: __fini__
- Previous by thread: Re: [PATCH 3/3] Handle (-1) + (1) and (-3) - (-2) with bigints
- Next by thread: Re: __fini__
- Index(es):