Вниз
Скачать: CL | DM;

Is it a thead-safe operation ?   Найти похожие ветки 

 
Boguslaw   (2005-01-02 17:53) [0]

I"d like to update listbox in my KOL-based program from another (working) thread.No problem.It works simply by :
memScan.Add("test") from another thread.Note: listbox is read-only all the time. Is it thread-safe assuming setting listbox readonly?


 
miek ©   (2005-01-03 10:25) [1]

Definitely not as I know. Use Windows messages for such purposes to ensure thread-safety.


 
Boguslaw   (2005-01-03 11:13) [2]

"Use Windows messages for such purposes to ensure thread-safety."
But isn"t it what KOL is doing in background here ?


 
thaddy   (2005-01-03 18:22) [3]

No, there can be contention, but you could use a simple spinlock assuming w2000 or higher.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.025 c
14-1121298969
Михаил(Киров)
2005-07-14 03:56
2005.08.07
Администрирование компьютерных клубов


6-1114672921
SH@RK
2005-04-28 11:22
2005.08.07
Как c помощью WinInet закачать HTML страничку по адресу https://


4-1118079752
NikNet
2005-06-06 21:42
2005.08.07
Как вызвать приревание в DELPHI из RING3 (Третего кольца)


14-1121498615
ShotGuN
2005-07-16 11:23
2005.08.07
Resource editor...


6-1114837814
snigir
2005-04-30 09:10
2005.08.07
Как програмным путём обеспечить модемный пул?




   Наверх