Ignore:
Timestamp:
Feb 22, 2011, 1:53:47 PM (13 years ago)
Author:
george
Message:
  • Fixed: Writing and reading Unicode characters in string.
  • Added: Demo for VarBlockSerializer.
  • Added: Write and read array of string.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CoolStreaming/UStreamHelper.pas

    r117 r172  
    66
    77uses
    8   Classes, DateUtils, syncobjs;
     8  Classes, DateUtils, syncobjs, UMicroThreading;
    99
    1010type
     
    6363
    6464  TThreadStreamHelper = class(TStreamHelper)
    65     Lock: TCriticalSection;
     65    Lock: TMicroThreadCriticalSection;
    6666    procedure Clear;
    6767    constructor Create;
     
    363363begin
    364364  inherited Create;
    365   Lock := TCriticalSection.Create;
     365  Lock := TMicroThreadCriticalSection.Create;
    366366end;
    367367
Note: See TracChangeset for help on using the changeset viewer.