Вниз
Скачать: 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.024 c
1-1121884311
UK-AAV
2005-07-20 22:31
2005.08.07
Количество строк


1-1121728449
jcrush
2005-07-19 03:14
2005.08.07
Найти в списке memo буквы КД и по горячим клавишам заменить


8-1112196519
seregka
2005-03-30 19:28
2005.08.07
Яркость


1-1121415307
Destroyer
2005-07-15 12:15
2005.08.07
Как сделать такую кнопку?


1-1121750374
FANAT
2005-07-19 09:19
2005.08.07
Как вытащить данные из excel




   Наверх