Search:

Type: Posts; User: wirmius

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    3,423

    zeromq, that you have suggested seems to me like...

    zeromq, that you have suggested seems to me like an overkill, all i need is asynchronous io, that supports network. For example, lighttpd claim to be asynchronous, how do they achieve it?
  2. Replies
    4
    Views
    3,423

    https://code.google.com/p/kernel/wiki/AIOUserGuide...

    https://code.google.com/p/kernel/wiki/AIOUserGuide - in the performance considerations section it says, that socket, pipes, etc are not supported, and will block if one attempts to do something with...
  3. Replies
    4
    Views
    3,423

    fast AIO that supports sockets

    Hi everyone!
    I would like to create SCGI server library, that would be completely based on asynchronous IO. I have been wandering around the internet for a few weeks now, but have not found suitable...
  4. Thread: Using GObject

    by wirmius
    Replies
    0
    Views
    1,588

    Using GObject

    HI everyone!
    For the last few days I was looking for a good tutorial on how to use GObject. But without good results. What I am looking for is well explained tutorial(I am not very familiar with...
  5. accessing static functions in header via macro

    Just wandering, will something like this work?


    header


    #define func(arg) func_(arg)

    ...
  6. Replies
    6
    Views
    2,053

    The target OS is linux of course. The main...

    The target OS is linux of course.
    The main downside in convinience I see in next function approach - good bye stack variables.
    I would use the threaded method, if I didn't have goal of making it...
  7. Replies
    6
    Views
    2,053

    non blocking io

    Hi everyone!
    I am making a scgi library(yeah, I know that there lots of them already), and I have a problem. I am using libev for event based system with non blocking synchronous io. I need to...
  8. Replies
    4
    Views
    2,210

    figured it out myself - tracked declaration of...

    figured it out myself - tracked declaration of sigevent, looked what macroses did I need to add, added them goes ok
  9. Replies
    4
    Views
    2,210

    including signal and sys/signal didn't work, so...

    including signal and sys/signal didn't work, so far I think the problem is inside aio.h file, I'm using Linux Mint 13 running 3.2.0 - 23 generic i686 kernel if it matters.
  10. Replies
    4
    Views
    2,210

    Can't find struct sigevent_t

    gcc -c -Wall -fpic syslog.c -std=c99 -g -L/home/botokiller/C/NServ001 -Wl,-rpath=/home/botokiller/C/NServ001 -laio_ext
    In file included from aio_ext.h:4:0,
    from syslog.c:4:...
  11. Thread: Judy arrays

    by wirmius
    Replies
    2
    Views
    2,487

    Judy arrays

    Hi everyone!
    I was wandering around and looking for solid vector basement for my project, when I found this: http://judy.sourceforge.net. Can Judy be a good basis for vector implementation? Is there...
  12. Replies
    4
    Views
    1,204

    So far I have no success trying to google the...

    So far I have no success trying to google the thing, can anyone provide some names or links to lists or something?
  13. Replies
    4
    Views
    1,204

    standart C library extension

    Hi evryone!
    I don't like to reinvent a bicycle every time I write program. I heard there are extensions for standart C library, what would you recommend?
  14. Thread: Fixed array

    by wirmius
    Replies
    6
    Views
    978

    That is the point, i dont need pointer, i need it...

    That is the point, i dont need pointer, i need it to reserve 16 bytes inside structure.
    something like this:


    struct mystruct {
    char 0;
    char 1;
    ...
    char 14;
    char 15;
  15. Thread: Fixed array

    by wirmius
    Replies
    6
    Views
    978

    Fixed array

    Hi everyone!
    I need an array inside structure, something like this:


    struct mystruct {
    char array[16];
    }

    but the way, that it doesnt give me pointer, but leaves 16 bytes free space inside...
  16. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,044

    Thanks everyone, I got it fixed.

    Thanks everyone, I got it fixed.
  17. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,044

    Errno of fsync is also one strange thing: -1 0 -...

    Errno of fsync is also one strange thing:
    -1 0 - Success
    is output for

    printf("%i %i - %s\n", fsync(rr->sock), errno, strerror(errno));

    P.S. I just tried to perform send command from another...
  18. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,044

    Andurils idea about \n at the end seems to work...

    Andurils idea about \n at the end seems to work for printf, but still no luck with send. fsync(rr->sock) shows -1, but return value of send is 4 and no errno is set. I've been programming sockets...
  19. Thread: Stream delays.

    by wirmius
    Replies
    8
    Views
    1,044

    Stream delays.

    Hi everyone!
    My problem is that i have a function containing this:

    printf("text");
    send(rr->sock, "text", 4, 0);
    It runs in separate thread from the main function, rr->sock is...
  20. Thread: sandbox

    by wirmius
    Replies
    4
    Views
    1,480

    sandbox

    Hi everyone!
    Who is up to make a sandbox game?

    P.S. for moderators: sorry, I posted here cause no one visits Jobs & Projects
Results 1 to 20 of 20