[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:ryo:todo

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Jan 31 03:19:19 CST 2010


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2010/01/31 03:19
User        : ryo
Edit Summary: various threading ideas

@@ -70,8 +70,20 @@
    * quick filters to find stuff in eg archetypes
    * use XML for various file formats, or some common format
    * move to Qt/C++, to not reinvent the wheel all the time; and massively clean the code
    * i18n easier to figure out (goes with previous point)
+   * threading ideas:
+     * one thread for sockets, queues players commands (and processes talk/chat ones, all non map-linked, immediately)
+     * active objects on a map-basis
+     * pool of map-processing tasks for a group of maps ; move maps between pools based on load
+     * in/out queues to put items on maps in other pools
+     * issue: processing linked maps should be by the same thread to not have conflicts/multiple access; or all potentially linked maps in the same (special) pool? could be an issue with bigworld, but could work
+     * threads for resources (arch, formulae, treasures, ...) reloading, then map processing updates fields (first load, then change based on pointers/names, then free old stuff)
+     * thread for metaserver notification
+     * map-loading through threads / in the background?
+     * maps-swapping thread
+     * implies a new player state, 'awaiting map loading' - shouldn't be too long though
+     * check scripts for multiple map access - how to create maps, how to put objects on them (which becomes an asynchronous operation)
  
  ====== old obsolete stuff ======
  
  Todo list:


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/user:ryo:todo?rev=1264360107
New Revision: http://wiki.metalforge.net/doku.php/user:ryo:todo

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list