Dylan T.
Dylan T.
Any string that isn't prefixed by `pocketmine.` is expected to be automatically translated by the client, if given the opportunity. We allow this because it avoids the need for the...
It doesn't really make any sense for these objects to be shared. They contain API methods which are only intended for the parent thread to use, such as `start()`, `join()`,...
This should be doable using `pthread_setname_np`. However, since this is a nonstandard function, it's implemented differently on different platforms. Most notably, it's not possible to set the name of a...
Currently it's inconvenient to publish shared libraries for the extension, as it may or may not depend on `ext-sockets`. There's no way to tell whether sockets support is required until...
A possible rather simple solution to issues like #111 and #115. My initial thought was to scan the op_array for opcodes like NEW, INIT_FCALL etc to find dependencies. However, these...
Currently, pthreads makes copies of classes when a new thread is started. This is a problem for numerous reasons: - ~~Static properties may have been modified, and since the default...
This is a duplicate of #23, which was closed by the deletion of the `fork-ng` branch and can't be reopened due to github. Upon further musings, I think it would...
Right now, `Threaded` is your only option if you need a thread-safe queue. This is heavily suboptimal for large numbers of items. Consider the following script: ```php