Linux blocked on file read on exit, need select

2016-03-20 Thread Darrell Gallion via Digitalmars-d-learn
Program is blocked on exit, because of a blocking file read. I'd be glad to just kill it and exit. In this case I'm using dinotify, I exposed the fd. This issue is it's not working or blocked on exit. Never mind the constant monitor.add static immutable string stdoutFn="passFiles/vAppStdout";

Re: Template specialization

2016-01-22 Thread Darrell Gallion via Digitalmars-d-learn
On Friday, 22 January 2016 at 13:03:52 UTC, Darrell Gallion wrote: On Friday, 22 January 2016 at 11:23:56 UTC, Marc Schütz wrote: On Friday, 22 January 2016 at 01:33:42 UTC, Darrell Gallion wrote: void foo(A)() if (!is (A == int)) { pragma(msg, "int"); } void foo(A)() if (i

Re: Template specialization

2016-01-22 Thread Darrell Gallion via Digitalmars-d-learn
On Friday, 22 January 2016 at 11:23:56 UTC, Marc Schütz wrote: On Friday, 22 January 2016 at 01:33:42 UTC, Darrell Gallion wrote: void foo(A)() if (!is (A == int)) { pragma(msg, "int"); } void foo(A)() if (is (A == int[])) { pragma(msg, "int[]"); } void main() { foo!

Re: Template specialization

2016-01-21 Thread Darrell Gallion via Digitalmars-d-learn
On Friday, 22 January 2016 at 00:08:56 UTC, Ali Çehreli wrote: On 01/21/2016 03:37 PM, Darrell Gallion wrote: How do you create a template that accepts many types. But overrides just one of them? Don't want to write out all of the specializations. Hours of google and I'm sure it's simple... -=

Template specialization

2016-01-21 Thread Darrell Gallion via Digitalmars-d-learn
How do you create a template that accepts many types. But overrides just one of them? Don't want to write out all of the specializations. Hours of google and I'm sure it's simple... -=Darrell

Re: Where is COFFIMPLIB

2015-04-18 Thread Darrell Gallion via Digitalmars-d-learn
On Friday, 17 April 2015 at 14:39:52 UTC, Adam D. Ruppe wrote: coffimplib is a paid utility out of the $15 extended utility package http://digitalmars.com/eup.html buy from here (be sure javascript is enabled or the form won't even appear) http://digitalmars.com/shop.html and yeah i realiz

Re: Where is COFFIMPLIB

2015-04-18 Thread Darrell Gallion via Digitalmars-d-learn
On Friday, 17 April 2015 at 19:38:08 UTC, Jacob Carlborg wrote: If you compile as 64bit or with the -m32mscoff flag the compiler will output object files in the COFF format. Thought there were other complications on Windows for 64bit?

Re: Where is COFFIMPLIB

2015-04-18 Thread Darrell Gallion via Digitalmars-d-learn
http://ftp.digitalmars.com/coffimplib.zip

Re: Where is COFFIMPLIB

2015-04-18 Thread Darrell Gallion via Digitalmars-d-learn
On Friday, 17 April 2015 at 14:20:10 UTC, Darrell Gallion wrote: Attempting to link to snappy.lib on windows. Getting the infamous Error 43: Not a Valid Library File The conversion from COFF Format to OMF Format seems like the issue. The fix isn't so clear. There's an ftp site that needs a pa

Where is COFFIMPLIB

2015-04-17 Thread Darrell Gallion via Digitalmars-d-learn
Attempting to link to snappy.lib on windows. Getting the infamous Error 43: Not a Valid Library File The conversion from COFF Format to OMF Format seems like the issue. The fix isn't so clear. There's an ftp site that needs a password. ftp://digitalmars.com/coffimplib.zip Thanks -=Darrell