15b08c1417
Added capability to dump AsyncWorkers' memory ( #1379 )
...
This now actually works with PHP 7.2 + latest pthreads, before it was too unstable.
2017-09-14 16:45:48 +01:00
d1852834de
Revert "Added capability to dump AsyncWorker memory"
...
This reverts commit eb4594348b
.
This is far too unstable with more than one worker thread.
2017-08-22 20:46:20 +01:00
eb4594348b
Added capability to dump AsyncWorker memory
2017-08-22 19:57:00 +01:00
17053389b0
Added memory limits for AsyncWorkers
2017-08-20 12:15:48 +01:00
2018ad6376
Merge master
2017-07-14 12:12:35 +01:00
b5790d19bf
Cleaned up MainLogger registration and declared a typehint
...
Remove null hint from MainLogger::getLogger() so static analysis doesn't complain everywhere
just make sure you register the logger before trying to use MainLogger::getLogger() on a different thread!
2017-07-14 11:39:04 +01:00
8fc1501e89
Moar typehints
2017-07-14 08:52:27 +01:00
9c9095060f
Register MainLogger on AsyncWorkers to make MainLogger::getLogger() usable in AsyncTasks
...
Threaded static properties aren't thread-local anymore in pthreads 3.1.7dev
2017-07-04 16:50:17 +01:00
481114281e
Server starts!
2017-06-07 12:53:16 +01:00
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
0bcf639a98
Changed how exceptions work and are logged, throw proper exceptions on tasks
2015-09-18 12:03:24 +02:00
e137ac4c56
Base PHP7 work to make it "run" - READ NEXT LINES!
...
All plugins will need to bump the API if they want to use this.
NOTE THAT THIS IS NOT THE FINAL API 2.0.0 AND THAT THERE WILL BE MORE CHANGES.
To start updating, you might also want to read https://secure.php.net/manual/en/migration70.php and specifically https://secure.php.net/manual/en/migration70.incompatible.php
To compile PHP7 with some of the required dependencies, use https://gist.github.com/shoghicp/166ab26ce5cc7a390f45
ONLY LINUX IS TESTED, DO NOT ASK FOR OTHER PLATFORMS!
----- THIS VERSION IS NOT SUPPORTED -----
This version WILL crash randomly in unexpected places due to PHP7, pthreads, PocketMine or cosmic rays.
Handle with care, and store under direct sunlight for the best performance.
2015-09-10 21:29:29 +02:00
7cf5df7e46
New console output formatting
2015-06-09 14:40:40 +02:00
b2c25eaf36
Added MemoryManager, new memory properties, improved performance, updated RakLib, fixed misc. bugs
2015-04-18 20:13:52 +02:00
88797d4c6c
Enabled GC on AsyncWorker
2015-04-15 20:47:34 +02:00
71657a2a4e
Improved effects, threading changes
2015-04-08 17:31:06 +02:00
72c4c01542
Yay generation uses async tasks
2015-03-26 18:21:39 +01:00
11c13cd666
Implemented Threaded ClassLoader, improves class loading while on different threads (no need to synchronize states)
2015-03-14 15:22:13 +01:00
692045d714
Improved threading and resource usage, new defaults
2015-01-02 18:46:39 +01:00
f4ae58dda2
Removed pthreads workarounds
2014-09-10 15:11:56 +02:00
f4b92bcdfc
Fixed #1980
2014-08-27 11:41:00 +02:00
bda597a71e
Moved spl to PocketMine-SPL
2014-08-25 20:54:53 +02:00
77799d8f3d
Fixed AsyncWorker includes
2014-08-08 18:06:07 +02:00
eff454d103
Fixed AsyncWorker not getting the proper path and not using the correct class
2014-08-08 11:51:36 +02:00
51120fdd4f
Added ThreadManager, removed PHP self-kill
2014-08-08 11:36:55 +02:00
bf49cafeae
Added settings.async-workers to tune the amount of AsyncTask workers
2014-06-22 12:55:08 +02:00
7f795bc041
Fixed #1501 executing AsyncTasks blocks other threads
2014-06-22 12:50:24 +02:00
53749483c3
Implemented new Inventory windows on Player, Chest and Furnace
2014-05-23 20:53:06 +02:00
80f9093875
Added /reload command (does not reload source code)
2014-04-03 15:49:00 +02:00