Re: [twsocket] SuperObject is thread safe???

2013-04-19 Thread myiisvif
for serval days. i find the key probleam.

it is the SUPEROBJECT.  not ics, not wmi。
fuck.

when in a service application and using it deal with many data. it will hung. 
but what is the detail reason, i dont not known.


//
old message:


addtional:
in the proc,i using superobject do deal with the json format date for return.

http://p13.freep.cn/p.aspx?u=v20_p13_photo_1304181534184397_0.jpg 


the class function TSuperObject.ParseString  's first line break tok := 
TSuperTokenizer.Create; 

http://iegood.com/p.aspx?u=v20_p1_photo_1304181534358549_0.jpg 

see the stack trace pic above. first call it is ok, but after three or more 
times. it hung.

//







myiisvif

From: RTT
Date: 2013-04-18 22:47
To: ICS support mailing
Subject: Re: [twsocket] SuperObject is thread safe???

 does somebody known the vcl : SuperObject is thread safe???

I use it in threads, and never noticed thread safety problems.
It uses the Interlocked* mechanism were needed, so as long you also use 
it safely...
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] SuperObject is thread safe???

2013-04-18 Thread RTT



does somebody known the vcl : SuperObject is thread safe???


I use it in threads, and never noticed thread safety problems.
It uses the Interlocked* mechanism were needed, so as long you also use 
it safely...

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be