Minkata is back open for testing! Age State problem fixed.

Discussions about the OpenUru.org Minkata test shard

Moderator: rarified

cjkelly1
Member
Posts: 67
Joined: Mon Dec 29, 2008 6:08 am

Re: Minkata is back open for testing! Age State problem fixed.

Post by cjkelly1 »

rarified wrote: Sat Feb 16, 2019 5:32 am True, a constant value no longer was sufficient.

I believe the use of pathconf(..., _PC_NAME_MAX) was a reasonable (and intended) portable answer to that problem. The only platform I found so far that didn’t support it was WIN32.

_R
A final comment on readdir_r(). In a'moaca's commit message, it says:
The biggest change is removing the use of readdir_r which is deprecated.
We didn't really need it, because each thread opens the directory itself.
According to the readdir_r man page on Linux, "However, in modern
implementations (including the glibc implementation), concurrent calls to
readdir(3) that specify different directory streams are thread-safe."
I am curious if this is the case under Solaris. I would consider Solaris to be a "modern implementation", since Oracle is still releasing updates to the OS.
User avatar
rarified
Member
Posts: 1061
Joined: Tue Dec 16, 2008 10:48 pm
Location: Colorado, US

Re: Minkata is back open for testing! Age State problem fixed.

Post by rarified »

cjkelly1 wrote: Mon Feb 18, 2019 2:16 am ....
The biggest change is removing the use of readdir_r which is deprecated.
We didn't really need it, because each thread opens the directory itself.
According to the readdir_r man page on Linux, "However, in modern
implementations (including the glibc implementation), concurrent calls to
readdir(3) that specify different directory streams are thread-safe."
I am curious if this is the case under Solaris. I would consider Solaris to be a "modern implementation", since Oracle is still releasing updates to the OS.
The Solaris man page is silent on the thread safety of readdir(). But in going to the POSIX standard documents updated last year, it explicitly says readdir() need not be thread safe. Only readdir_r() is called out in the thread safe category. I would have more confidence in the underlying POSIX standard than a specific implementation’s documentation.

It seems the primary concern with readdir_r() is the designation as deprecated. Given that the POSIX standard still calls for readdir_r() and has no indication it will be removed in current revisions, I’m not too concerned about retaining it. I doubt implementations such as Linux, Solaris, or *BSD will risk becoming uncompliant with POSIX.

_R
One of the OpenUru toolsmiths... a bookbinder.
Treehugger
Member
Posts: 325
Joined: Sat Feb 18, 2012 7:47 pm

Re: Minkata is back open for testing! Age State problem fixed.

Post by Treehugger »

rarified wrote: Tue Feb 12, 2019 11:44 pm Quick update... I've built a new server with some more debugging code. It shouldn't change things, but given past history, I'm not one to predict ;)

Keep wandering folks, it's great to hear the last version finally fixed the state bug!

_R
Just to report that I created a new avvie and played through, and all seems fine :D
Image

(Treehugger in Minkata)
User avatar
rarified
Member
Posts: 1061
Joined: Tue Dec 16, 2008 10:48 pm
Location: Colorado, US

Re: Minkata is back open for testing! Age State problem fixed.

Post by rarified »

Thank you, Treehugger! Thorough as always :D

_R
One of the OpenUru toolsmiths... a bookbinder.
Jaytee
Member
Posts: 13
Joined: Sat Feb 18, 2012 12:16 am
Location: Rochester, New York

Re: Minkata is back open for testing! Age State problem fixed.

Post by Jaytee »

same as Treehugger deleted avie started new one and all works good for me nice job
PodHopper
Member
Posts: 3
Joined: Mon Mar 04, 2019 2:22 pm
Contact:

Re: Minkata is back open for testing! Age State problem fixed.

Post by PodHopper »

All is looking good so far, finished the first ages, got the cleft book, relto pages and most of the sparklies. I only found one glitch so far: in Teledahn I got into a climbing-down-the-ladder-loop. (much like I've experienced in Moula before.) It was the ladder below the starting point. It's easy to jump out of the loop, so I'm not really troubled by this.

I noticed that walking up and down stairs is going faster than in Moula or the other shards. Although I believe that's great when you have to climb the great stairs for example, it is not looking natural. That's because the avatar is now running slower over horizontal ground than it is in running up the stairs. It is more noticable when the stairs has only few steps.

But I have to admit, every time I do Ahnonay, I find myself wishing for a boost or turbo button for my avatar... 8-)
Post Reply

Return to “OpenUru.org Minkata Test Shard”