This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// === DESCRIPTION === | |
| /// This is a naive implementation of a registry for Actix Actors that | |
| /// implement a SyncContext. Using it you can retreive an address for | |
| /// any actor registered with it from any point in your program. | |
| /// | |
| /// === LICENSE === | |
| /// Copyright 2019 Stanko K.R. <hey@stanko.io> | |
| /// | |
| /// Permission is hereby granted, free of charge, to any person | |
| /// obtaining a copy of this software and associated documentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/sbin/dtrace -Cs | |
| #pragma D option quiet | |
| fbt::__mac_execve:entry, fbt::posix_spawn:entry | |
| { | |
| self->want_malloc = 1; | |
| } | |
| /* | |
| * First _MALLOC call inside execve/posix_spawn allocates memory |