Вниз
Скачать: 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.022 c
11-1104873011
Boguslaw
2005-01-05 00:10
2005.08.07
KOL and ContextMenu shel extension


9-1113814665
Александр Х
2005-04-18 12:57
2005.08.07
Помогите наДыбать ссылку на GL Scene ... Устал искать!


8-1112253055
ndis
2005-03-31 11:10
2005.08.07
Как сделать прокрутку AVI файла , чтобы его было сквозь картинку.


8-1112180858
seregka
2005-03-30 15:07
2005.08.07
Прокрутка изображения


14-1121360156
Sanya_BS
2005-07-14 20:55
2005.08.07
Неохото заправлять картриджи самому. Нужны причины для отказа.




   Наверх