Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
85 user(s) are online (60 user(s) are browsing Forums)

Members: 0
Guests: 85

more...

Headlines

Report message:*
 

Re: MineCraft (MineTest) work in progress help need it

Subject: Re: MineCraft (MineTest) work in progress help need it
by kas1e on 2021/1/5 18:54:48

@Capehill
Quote:

1) add try-catch around "join" call. It should help with program termination.
2) change the GCC thread patch, add "mx->u.i.acquired++" before return 0.
3) add serial logging to GCC thread patch in EBUSY branches.


Trying this now, will first try native-threading-patch fix with "mx->u.i.acquired++" before return 0.

ps. can show an example with that "add try-catch around "join" call.", never used this (and mostly never use c++ for real:) )

Quote:

For testing, what happens when you run the example on this page:

https://en.cppreference.com/w/cpp/thread/mutex


That one works correctly, throw at me in the shell:

Quote:

http://bar => fake content
http://foo => fake content



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project