OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

deadlock loading io plugin?

Goto page Previous  1, 2
 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Robert Osfield
Guest





PostPosted: Tue Nov 04, 2008 2:49 pm    Post subject:
deadlock loading io plugin?
Reply with quote

On Tue, Nov 4, 2008 at 2:06 PM, Max Pfingsthorn
<> wrote:
Quote:
Hi Robert,

On Tue, Nov 4, 2008 at 2:36 PM, Robert Osfield <> wrote:
Quote:
Could you try adding a:

Thread::Init();

To the start of your main and see if that makes a difference.

Yes, that did it. Before, OSG 2.6.1 and 2.5.5 finished compiling and
*both* worked without OpenThreads::Thread::init(); in my main. That
seems weird.. Did something change for 2.7 in terms of OpenThreads?

There haven't been any significant changes to OpenThreads, just
changes to Atmic codes but I wouldn't have thought this would cause
problems.

Did you try my modified Thread.c++? If this works then I'll check it in.

Robert.


------------------
Post generated by Mail2Forum
Back to top
Max Pfingsthorn
Guest





PostPosted: Tue Nov 04, 2008 3:16 pm    Post subject:
deadlock loading io plugin?
Reply with quote

Hi Robert,

yes, that modified PThread.c++ seems to work for me without having to
put the init into my main.

Thanks for the help!

Bye,
max

On Tue, Nov 4, 2008 at 3:48 PM, Robert Osfield <> wrote:
Quote:
On Tue, Nov 4, 2008 at 2:06 PM, Max Pfingsthorn
<> wrote:
Quote:
Hi Robert,

On Tue, Nov 4, 2008 at 2:36 PM, Robert Osfield <> wrote:
Quote:
Could you try adding a:

Thread::Init();

To the start of your main and see if that makes a difference.

Yes, that did it. Before, OSG 2.6.1 and 2.5.5 finished compiling and
*both* worked without OpenThreads::Thread::init(); in my main. That
seems weird.. Did something change for 2.7 in terms of OpenThreads?

There haven't been any significant changes to OpenThreads, just
changes to Atmic codes but I wouldn't have thought this would cause
problems.

Did you try my modified Thread.c++? If this works then I'll check it in.

Robert.




------------------
Post generated by Mail2Forum
Back to top
Robert Osfield
Guest





PostPosted: Tue Nov 04, 2008 3:57 pm    Post subject:
deadlock loading io plugin?
Reply with quote

On Tue, Nov 4, 2008 at 3:16 PM, Max Pfingsthorn
<> wrote:
Quote:
Hi Robert,

yes, that modified PThread.c++ seems to work for me without having to
put the init into my main.

Great, now checked into svn/trunk.

Robert.


------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts GLSL plugin static linking issue (rec... drewpts General 2 Wed Aug 28, 2019 9:10 pm View latest post
No new posts Loading .fbx files causes triangulati... neonerd Plugins [osgPlugins] 2 Mon Aug 19, 2019 6:01 am View latest post
No new posts Loading .fbx files causes triangulati... neonerd Plugins [osgPlugins] 0 Tue Jun 18, 2019 3:14 am View latest post
No new posts Problems with dae plugin John Richardson Plugins [osgPlugins] 0 Thu Apr 11, 2019 5:00 pm View latest post
No new posts [PARTIALLY SOLVED] Problems with dae ... Nikkitta Plugins [osgPlugins] 4 Mon Apr 08, 2019 3:51 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP