Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, March 20, 2006 5:21:46 PM(UTC)
pureuniverse

Groups: Registered
Posts: 1


Hello.

I'm using Leadtools Raster Imaging Pro 14, C++ Class Lib in my project,

and I have a question in  Multi-Threads support.

If different two thread try to access single LBitmap instance, and one thread try to change image binary,  when other thread try to read image binary , Is there any problem?[*-)]

 

 

 

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, March 26, 2006 6:06:23 AM(UTC)

Ali  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

This is just like any other threading issue. As long as you have synchronization, you can do this. Forget about images. If you try to access an int in one thread and change the int in another thread, there is no way to know what value you are going to get in the thread that is accessing it, unless you only allow one thread to use the int at a time.



If you need any further assistance, please feel free to contact me.

Thanks,
Ali Abo Al-Rob
LEADTOOLS Technical Support

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.065 seconds.