15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


DAO and Multi-Thread

Larry Wall -- tech@clearguis.com
Wednesday, February 28, 1996

Does anyone know if Microsoft has any plans to make the DAO classes in =
MFC thread safe in the next version of Visual C++?

I have been trying to open a CDaoDatabase inside of  a thread and I am =
having a lot of problems. From the talk on the MSMFC forum on =
CompuServe, if the DAO objects are used in threads there will be =
problems (basically it can't be done reliably).

Larry Wall




Glenn T. Jayaputera -- gtj@nunkeen.apana.org.au
Sunday, March 03, 1996

> Does anyone know if Microsoft has any plans to make the DAO classes in =
> MFC thread safe in the next version of Visual C++?

Hmmm.. ain't too sure about this, but the manual it says that DAO  is single thread
only.

> 
> I have been trying to open a CDaoDatabase inside of  a thread and I am =
> having a lot of problems. From the talk on the MSMFC forum on =
> CompuServe, if the DAO objects are used in threads there will be =
> problems (basically it can't be done reliably).
> 

Belief so, since it is single thread only, at least at this stage...

cheers
glenn tesla





| Вернуться в корень Архива |