bearophile wrote:
Are D invariants supposed to be so "relaxed"? They don't get called with
default constructors:
http://d.puremagic.com/issues/show_bug.cgi?id=519
Stewart.
Trass3r wrote:
http://digitalmars.com/d/2.0/attribute.html#align
"align by itself sets it to the default, which matches the default
member alignment of the companion C compiler."
OK!
"align(Integer): Integer specifies the alignment which matches the
behavior of the companion C compiler when
Stewart Gordon:
> http://d.puremagic.com/issues/show_bug.cgi?id=519
Thank you, then my bug 4329 is a dupe, I'll mark it so :-)
Bye,
bearophile
Whats the proper way to get access to some of the Posix functions?
ie. fork setsid...
import core.sys.posix.unistd; //? Is it proper to import from core.sys ?
-B
On Thu, 17 Jun 2010 20:09:29 +, Byron Heads wrote:
> Whats the proper way to get access to some of the Posix functions?
>
> ie. fork setsid...
>
> import core.sys.posix.unistd; //? Is it proper to import from core.sys
Yes, that is correct. :)
-Lars
is setMaxMailboxSize not implemented yet or is it bugged?
This test program does not work right:
import core.sys.posix.unistd;
import std.stdio,
std.concurrency,
std.random;
void main()
{
auto a = spawn( &bar, thisTid );
setMaxMailboxSize( a, 1, OnCrowding.bloc
On Thu, 17 Jun 2010 21:31:10 +, Byron Heads wrote:
> is setMaxMailboxSize not implemented yet or is it bugged?
>
This is a little better example of it not working:
import core.sys.posix.unistd;
import std.stdio,
std.concurrency,
std.random;
enum MAX = 1;
void main()
{
On 17.06.2010 23:31, Byron Heads wrote:
is setMaxMailboxSize not implemented yet or is it bugged?
It's just an empty function currently. If you want to see for yourself,
it's in dmd2/src/phobos/std/concurrency.d.
[NOTE - sent twice as I was unsure that first attempt,
pre-subscription, was received.]
Working through the basics of D and running into simple problems that I
cannot solve, such as:
Error: cannot implicitly convert expression (s) of type int[3u] to int*
Error: cannot implicitly convert e
On 06/18/2010 12:25 AM, Chick Corea wrote:
[NOTE - sent twice as I was unsure that first attempt,
pre-subscription, was received.]
Working through the basics of D and running into simple problems that I
cannot solve, such as:
Error: cannot implicitly convert expression (s) of type int[3u]
10 matches
Mail list logo