Вниз
Скачать: 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.44 MB
Время: 0.031 c
6-1114873644
Dextor
2005-04-30 19:07
2005.08.07
TServerSocket в DLL - реально ли ?


3-1119542398
Koala
2005-06-23 19:59
2005.08.07
Помогите организовать ХП (Firebird)


14-1121318722
evvcom
2005-07-14 09:25
2005.08.07
Кто-нибудь встречал в сети схему блока питания 250W для P4?


10-1098889890
ИМХО
2004-10-27 19:11
2005.08.07
OLE-автоматизация собственной программы


14-1121419058
leonidus
2005-07-15 13:17
2005.08.07
Знатокам InnoSetup




   Наверх