Changeset 3191c01 in mainline


Ignore:
Timestamp:
2012-04-14T07:59:46Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1db6dfd
Parents:
aeeddeb
Message:

Add test demonstrating IPC starving

This test shows that intensive computation with occasional
async_wait_for_timeout(timeout=0) would never retrieve the
actual IPC answer.

See ML for discussion [Starving IPC in the async framework]:
http://lists.modry.cz/cgi-bin/private/helenos-devel/2012-April/008209.html

Location:
uspace/app/tester
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/Makefile

    raeeddeb r3191c01  
    5050        vfs/vfs1.c \
    5151        ipc/ping_pong.c \
     52        ipc/starve.c \
    5253        loop/loop1.c \
    5354        mm/common.c \
  • uspace/app/tester/tester.c

    raeeddeb r3191c01  
    6060#include "vfs/vfs1.def"
    6161#include "ipc/ping_pong.def"
     62#include "ipc/starve.def"
    6263#include "loop/loop1.def"
    6364#include "mm/malloc1.def"
  • uspace/app/tester/tester.h

    raeeddeb r3191c01  
    9393extern const char *test_vfs1(void);
    9494extern const char *test_ping_pong(void);
     95extern const char *test_starve_ipc(void);
    9596extern const char *test_loop1(void);
    9697extern const char *test_malloc1(void);
Note: See TracChangeset for help on using the changeset viewer.