On 2017-06-30 00:24-0700 Alan W. Irwin wrote:
On 2017-06-29 19:52-0000 Arjen Markus wrote:
*** PLPLOT WARNING ***
wxPLViewer failed to signal it has found the shared memory [on the
MinGW-w64/MSYS2 platform].
I assume this issue is due to some programming error in my Windows
variant of the 3-semaphores IPC approach.
Hi Arjen:
After reviewing the code, I spotted a fundamental error in the Windows
variant of the three-semaphores case which is that code used three
Windows mutexes rather than three named Windows semaphores. When I
originally coded that variant, I naively assumed that a two-state
semaphore was effectively the same as a mutex, but the semantics are
slightly different, and now that I have discovered named Windows
semaphores I would prefer to use them to keep the Windows variant of
the 3-semaphores approach as close as possible to the Posix variant of
this approach. Therefore, I have now (commit b779495) addressed this
issue by using named Windows semaphores in the Windows variant of the
three semaphores approach, but I cannot even build test this modified
Windows variant of the three-semaphores approach here. So I need you
to do that.
To be specific about what test I want you to run, please freshly configure
PLplot with the -DPLPLOT_WX_DEBUG_OUTPUT=ON option (which adds lots of
useful information if there are any remaining errors with the
three-semaphores approach).
As per usual, the cmake stdout and stderr output should be captured with
cmake <cmake options> <directory corresponding to top of source tree> >&
cmake.out
Then do the following:
# Build prerequisites
make VERBOSE=1 wxwidgets >& wxwidgets.out
make VERBOSE=1 wxPLViewer >& wxPLViewer.out
make VERBOSE=1 x00c >& x00c.out
# Run test
examples/c/x00c -dev wxwidgets >& test.out
Then, please send me those 5 *.out files if there are any issues
captured by any of them. But I assume you won't have to do that
because there will be no issues. :-)
By the way, Happy Canada Day everybody!
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel