unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Cygwin port of Guile 2.2
@ 2017-04-04 16:45 Mike Gran
  2017-04-04 17:03 ` Eli Zaretskii
  2017-04-14  8:35 ` Andy Wingo
  0 siblings, 2 replies; 16+ messages in thread
From: Mike Gran @ 2017-04-04 16:45 UTC (permalink / raw)
  To: guile-devel

Hello All,

I push a branch that mostly makes Guile 2.2 work on Cygwin.

In the end, I had a few issues.

Cygwin's uselocale is broken and can segrault.  I fell back
to the standard nl-langinfo.  I understand the issue and may
push a patch upstream to Cygwin sometime.

Also Cygwin's langinfo is incomplete with regards to LC
MONETARY.  This also is fixable upstream in Cygwin.

Cygwin requires stability on both ends of a pipe being used
for inter-thread communication.  If one tries to read from a
pipe that is closing on the other end, Cygwin may fault.  I
worked around this by replacing pipes with a
producer/consumer pattern of semaphores and mutex-protected
variables.  A dirty workaround.

Lastly, Cygwin's fork just doesn't play well with Guile's
new GC and threading model.  Despite a copy of days in the
guts of it all, I don't understand the specifics of the
issue.  So, in the branch, I disabled forking altogether,
and by extension, popen and friends.

While I couldn't get fork to work, the other threading
primitives seem fine.

The branch is wip-cygwin-guile-2.2.

Thanks,

Mike Gran



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-05-15 20:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-04 16:45 Cygwin port of Guile 2.2 Mike Gran
2017-04-04 17:03 ` Eli Zaretskii
2017-04-14  8:35 ` Andy Wingo
2017-04-14 13:41   ` Derek Upham
2017-04-17  8:04     ` Andy Wingo
2017-04-17 15:05       ` Derek Upham
2017-05-01 20:48         ` Derek Upham
2017-05-02 19:35           ` Andy Wingo
2017-05-03  3:18             ` Derek Upham
2017-05-03  9:24               ` Andy Wingo
2017-05-03  9:39                 ` szgyg
2017-05-03 14:21                 ` Derek Upham
2017-05-09 19:08                   ` Andy Wingo
2017-05-12 14:13                     ` Derek Upham
2017-05-15 20:06                       ` Andy Wingo
2017-05-04  5:21               ` zv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).