Skip to content
Snippets Groups Projects
  1. Jan 26, 2017
  2. Jan 05, 2017
  3. Dec 24, 2016
    • Ramin Yaghoubzadeh's avatar
      All languages: Using uint64 for RemoteServer call return values · 681dd1bf
      Ramin Yaghoubzadeh authored
      Recent addition of IntegerConverter in rsb0.14 seems flaky (it
      seems Python will always send 64bit, and no conversion can be made),
      -> now using 64bit types for transport everywhere revision numbers
      are exchanged as an RPC result, i.e. all RemoteIU modifications
      and ResendRequests (Also disabled our own legacy IntConverters).
      
      Note: the ipaaca.proto Protobuf definition has not been changed,
      for compatibility reasons. Java version contains explicit (int)
      casts when protobuf objects are built. (TODO Discuss proto->64bit)
      
      Tests between all three languages work (Netboot, rsb0.14,
      protobuf2.6.1, spread4.4), tested with WOz+Cere+Billie.
      681dd1bf
  4. Dec 23, 2016
  5. Dec 07, 2016
    • Ramin Yaghoubzadeh Torky's avatar
      cpp: Fixed successive batch updates on same top level key [ATTENTION] · 219bc821
      Ramin Yaghoubzadeh Torky authored
      Read access in locked payloads is performed on queued operations
      before searching the old database. Threads other than the locking
      thread consistently read the old information.
      
      On POSIX, default Lock now also uses boost::thread (instead of pthread)
      pthread linkage is still present for legacy wrapping.
      
      ATTENTION: unlocked payload writing is (by design) not thread-safe
      (won't crash but data might be inconsistent). Please use Locker armors
      around all code that might modify a payload in more than one thread.
      ---> #1: Always use Locker in IU handlers that write to existing IUs!!
      219bc821
  6. Dec 06, 2016
    • Ramin Yaghoubzadeh Torky's avatar
      cpp ATTENTION: Changed semantics for Payload entry casts to bool · cf9cdd88
      Ramin Yaghoubzadeh Torky authored
      For string values, ONLY the empty string "" maps to false
      (previously, "false", "False", and "0" also mapped to false)
      For list and map values, zero-element ones now map to false
      (previously, any list or map would map to true).
      
      The new semantics are identical to Python behavior for your convenience,
      since they were not generically prescribed by the STL anyway.
      cf9cdd88
  7. Dec 04, 2016
  8. Dec 03, 2016
  9. Dec 02, 2016
  10. Oct 28, 2016
  11. Sep 29, 2016
  12. Aug 04, 2016
  13. Apr 28, 2016
  14. Apr 27, 2016
  15. Apr 26, 2016
  16. Apr 03, 2016
  17. Mar 30, 2016
  18. Mar 01, 2016
    • Ramin Yaghoubzadeh Torky's avatar
      C++: simple profiling timers · 33664e85
      Ramin Yaghoubzadeh Torky authored
      [.. code ...]
      IPAACA_SIMPLE_TIMER_BEGIN(blockid1)
      [... first code block to time ...]
      IPAACA_SIMPLE_TIMER_END(blockid1, "Processing loop 1")
      [...]
      
      -> e.g.: "Processing loop - us elapsed: 15" to terminal
      
      Several blocks can be timed in one stack frame using more blockids
      (TODO: implement profiling mode that can be turned on/off)
      33664e85
  19. Jan 29, 2016
  20. Jan 19, 2016
  21. Jan 18, 2016
Loading