Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Is guilock safe?
Is guilock safe? [message #44502] Wed, 18 March 2015 18:37 Go to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Hi,


I uae guilock in my code, and it seems to hang in there.

How is that possible?
Is guilock safe? Can the library have some defects in connection with guilock or?


Update:
It does not seem to hang now.
Can I use the guilock in main thread safely?

A.

[Updated on: Thu, 19 March 2015 21:31]

Report message to a moderator

Re: Is guilock safe? [message #44509 is a reply to message #44502] Thu, 19 March 2015 21:31 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
aftershock wrote on Wed, 18 March 2015 18:37
Hi,


I uae guilock in my code, and it seems to hang in there.

How is that possible?
Is guilock safe? Can the library have some defects in connection with guilock or?

A.


It is possible, but it is as much likely that your code has some issue. Hard to say without knowing more.

I really would like to know more...

Mirek
Re: Is guilock safe? [message #44510 is a reply to message #44509] Thu, 19 March 2015 21:33 Go to previous messageGo to next message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
There was unhandle exception within the guilock in side thread...
I fixed that. Now I do not have the issue.
Could that cause that?

It is not easy to say for sure because hanging did not happen predictably rather in random way.. After the multithreaded application ran for a while.
Re: Is guilock safe? [message #44512 is a reply to message #44510] Thu, 19 March 2015 23:19 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
aftershock wrote on Thu, 19 March 2015 21:33
There was unhandle exception within the guilock in side thread...
I fixed that. Now I do not have the issue.
Could that cause that?

It is not easy to say for sure because hanging did not happen predictably rather in random way.. After the multithreaded application ran for a while.


Well, unfortunately, that is typical for MT code.... But yes, it could have caused the issue.
Previous Topic: Bug? Directoryexists does not recognise directory if...
Next Topic: unhandled exception does not show in the stack
Goto Forum:
  


Current Time: Thu Mar 28 10:42:13 CET 2024

Total time taken to generate the page: 0.01191 seconds