]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/log
frescor/frsh-forb.git
10 years agoFix Makefile to work with new OMK master
Michal Sojka [Wed, 13 Nov 2013 05:32:45 +0000 (06:32 +0100)]
Fix Makefile to work with new OMK

12 years agoMake git ignore generated documentation
Michal Sojka [Tue, 7 Feb 2012 23:54:13 +0000 (00:54 +0100)]
Make git ignore generated documentation

12 years agoGet rid of the most of other warnings
Michal Sojka [Tue, 7 Feb 2012 23:52:57 +0000 (00:52 +0100)]
Get rid of the most of other warnings

12 years agoDo not compile ACPI stuff by default
Michal Sojka [Tue, 7 Feb 2012 23:31:34 +0000 (00:31 +0100)]
Do not compile ACPI stuff by default

There are compiler warnings which I'm lazy to fix, because the code is
not used anywhere.

12 years agouLUt: Get rid of compiler warnings
Michal Sojka [Tue, 7 Feb 2012 23:04:19 +0000 (00:04 +0100)]
uLUt: Get rid of compiler warnings

12 years agoUse a newer version of wvtestrun (from NUL project)
Michal Sojka [Tue, 7 Feb 2012 22:09:27 +0000 (23:09 +0100)]
Use a newer version of wvtestrun (from NUL project)

This has some nice features like showing markers before and after the
output of the failed test.

12 years agoFix uninitialized memory bug that caused the test to fail sometimes
Michal Sojka [Tue, 7 Feb 2012 22:49:17 +0000 (23:49 +0100)]
Fix uninitialized memory bug that caused the test to fail sometimes

12 years agoFixes for building on my computer
Michal Sojka [Fri, 7 Oct 2011 13:04:07 +0000 (15:04 +0200)]
Fixes for building on my computer

12 years agoMore Makefile.rules fixes for RTEMS and IDL
Michal Sojka [Mon, 18 Jul 2011 13:04:45 +0000 (15:04 +0200)]
More Makefile.rules fixes for RTEMS and IDL

13 years agoFix linker complains about missing libraries
Michal Sojka [Wed, 27 Apr 2011 05:25:13 +0000 (07:25 +0200)]
Fix linker complains about missing libraries

After an upgrade, I got errors like this:
  /usr/bin/ld: fwp-timing.o: undefined reference to symbol 'clock_nanosleep@@GLIBC_2.2.5'
  /usr/bin/ld: note: 'clock_nanosleep@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
  /lib64/librt.so.1: could not read symbols: Invalid operation

It was sufficient to fix them by adding mentioned libraries explicitely in
Makefile.omk.

13 years agoPrepare for compiling FORB "components" for RTEMS
Michal Sojka [Mon, 18 Apr 2011 22:27:25 +0000 (00:27 +0200)]
Prepare for compiling FORB "components" for RTEMS

On Linux, FORB modules are normal shared libraries. The RTEMS support
for shared libraries does not seem to be mature so we use static libraries
for the components. These will have to be linked manually to the final
application.

The FORB components should use FORB_MAIN macro to define their main
function (previously called forb_main).

In this commit I only convert dummy resource to this new syntax. The rest
is leaved for Petr :-)

It will be necessary to implement an equivalent of forbrun for RTEMS. My
idea is to introduce a special ELF section with pointers to FORB_MAIN
functions and these functions will be called at the end of forb_init().

13 years agofwp: Add skeleton of admctrl test
Michal Sojka [Tue, 29 Mar 2011 10:26:49 +0000 (12:26 +0200)]
fwp: Add skeleton of admctrl test

13 years agohack: Add fixed reference to wifi_agent to all FORBs
Michal Sojka [Tue, 29 Mar 2011 09:49:15 +0000 (11:49 +0200)]
hack: Add fixed reference to wifi_agent to all FORBs

This is only a temporary hack until I implement proper registration and
propagation of regeistered references over TCP transport protocol.

13 years agoforb: proto_inet uses internally sockaddr_in instead of its own type
Michal Sojka [Sun, 13 Mar 2011 22:31:01 +0000 (23:31 +0100)]
forb: proto_inet uses internally sockaddr_in instead of its own type

This is to simplify connecting to known peers in followup patches.

13 years agoUpdate Makefile.rules
Michal Sojka [Sun, 13 Mar 2011 10:33:14 +0000 (11:33 +0100)]
Update Makefile.rules

13 years agofwp: Convert vres test to wvtest framework
Michal Sojka [Sat, 12 Mar 2011 16:15:50 +0000 (17:15 +0100)]
fwp: Convert vres test to wvtest framework

13 years agortems: Use Makefile.rules which pass OMK test suite
Michal Sojka [Sat, 12 Mar 2011 16:15:21 +0000 (17:15 +0100)]
rtems: Use Makefile.rules which pass OMK test suite

13 years agowvtestrun produces nicer and more readable output
Michal Sojka [Sat, 12 Mar 2011 14:40:43 +0000 (15:40 +0100)]
wvtestrun produces nicer and more readable output

Now, when stdout is a TTY, the results are aligned to the same column
and are preceeded by colorized leaders ("........") to easily find the
text matching to the result.

13 years agortems: Build system learned how to compile IDL files
Michal Sojka [Fri, 11 Mar 2011 15:36:08 +0000 (16:36 +0100)]
rtems: Build system learned how to compile IDL files

13 years agofwp: Remove unused crap from tests
Michal Sojka [Fri, 11 Mar 2011 09:16:36 +0000 (10:16 +0100)]
fwp: Remove unused crap from tests

13 years agoAdd preliminary configuration for RTEMS build
Michal Sojka [Fri, 25 Feb 2011 15:29:16 +0000 (16:29 +0100)]
Add preliminary configuration for RTEMS build

13 years agoUpdate the main README
Michal Sojka [Fri, 25 Feb 2011 08:14:19 +0000 (09:14 +0100)]
Update the main README

13 years agoRemove "Setup" header from tests
Michal Sojka [Fri, 25 Feb 2011 07:28:47 +0000 (08:28 +0100)]
Remove "Setup" header from tests

This header is no longer necessary as the similar header is produced by
OMK.

13 years agoUpdate Makefile.rules to have better wvtest support
Michal Sojka [Fri, 25 Feb 2011 07:26:25 +0000 (08:26 +0100)]
Update Makefile.rules to have better wvtest support

13 years agoforb: Split forb_port_destroy() to stop and destroy phases
Michal Sojka [Fri, 25 Feb 2011 07:20:28 +0000 (08:20 +0100)]
forb: Split forb_port_destroy() to stop and destroy phases

This allows for proper termination of forb. Now, there are no leaked
file descriptors in the tests.

13 years agoforb: Set cancelation points in receiver thread
Michal Sojka [Fri, 25 Feb 2011 07:17:34 +0000 (08:17 +0100)]
forb: Set cancelation points in receiver thread

This is to ensure that the thread is canceled only in a defined place
and no resources (like references to peer structures) remain in the system.

13 years agofrsh: Simplify negotiation test and rename the full test as renegotiation
Michal Sojka [Fri, 25 Feb 2011 07:14:31 +0000 (08:14 +0100)]
frsh: Simplify negotiation test and rename the full test as renegotiation

It was daunting to look for bugs in the large test, so now, negotiation
program performs only a single negotiation and cancelation.

13 years agofrsh: Update negotiation test
Michal Sojka [Thu, 24 Feb 2011 16:29:01 +0000 (17:29 +0100)]
frsh: Update negotiation test

There were some inconsistencies and missing comments.

13 years agowvtest/sh: Introduce cleanup function and exit on the first error
Michal Sojka [Thu, 24 Feb 2011 16:28:31 +0000 (17:28 +0100)]
wvtest/sh: Introduce cleanup function and exit on the first error

13 years agoDestroy forb in the correct order
Michal Sojka [Thu, 24 Feb 2011 15:58:36 +0000 (16:58 +0100)]
Destroy forb in the correct order

This is to avoid deadlocks during forb_destroy().

13 years agoforb: Update documentation of forb_executor_run()
Michal Sojka [Thu, 24 Feb 2011 15:40:52 +0000 (16:40 +0100)]
forb: Update documentation of forb_executor_run()

13 years agoforb: Add forb_executor_synchronize()
Michal Sojka [Thu, 24 Feb 2011 15:24:16 +0000 (16:24 +0100)]
forb: Add forb_executor_synchronize()

This is used to wait for executors to finish processing ongoing requests
during FORB termination. This ensures that all peer sockets are closed
and wvtest does not complain about open file descriptors at the end of
tests.

13 years agoforb: Update documentation of forb_request_send()
Michal Sojka [Thu, 24 Feb 2011 13:47:28 +0000 (14:47 +0100)]
forb: Update documentation of forb_request_send()

13 years agowvtest/sh: Do not exit shell script unless $WVTEST_DIE_FAST is set
Michal Sojka [Thu, 24 Feb 2011 11:36:14 +0000 (12:36 +0100)]
wvtest/sh: Do not exit shell script unless $WVTEST_DIE_FAST is set

If the shell script performs setup and cleanup for the test, it is
important to cleanup even when the test fails. So by default, we do not
exit, but only return the exit code of failed command.

13 years agofrsh: Do not include test functions
Michal Sojka [Thu, 24 Feb 2011 11:31:54 +0000 (12:31 +0100)]
frsh: Do not include test functions

The output of test is easier to read when the name of the test script is
displayed in the test output. Therefore, we copy the setup/exit code
that is common to the all tests to the tests themselves.

13 years agofrsh: Remove artificial split of a test
Michal Sojka [Thu, 24 Feb 2011 09:29:02 +0000 (10:29 +0100)]
frsh: Remove artificial split of a test

When a single test is split into several parts then the output
of the beginning of the test is not shown when the error occurs in the
later part.

13 years agowvtestrun: Visually delimit the output of failed command
Michal Sojka [Thu, 24 Feb 2011 07:35:26 +0000 (08:35 +0100)]
wvtestrun: Visually delimit the output of failed command

13 years agoforb: script for diskbfq added
Petr Benes [Tue, 22 Feb 2011 16:46:42 +0000 (17:46 +0100)]
forb: script for diskbfq added

13 years agoforb: script invocation of shlibs fixec
Petr Benes [Tue, 22 Feb 2011 16:45:51 +0000 (17:45 +0100)]
forb: script invocation of shlibs fixec

A couple of different small fixes at once.

13 years agoUpdate Makefile.rules -- fixes a bug in bin_SCRIPTS
Michal Sojka [Tue, 22 Feb 2011 15:46:49 +0000 (16:46 +0100)]
Update Makefile.rules -- fixes a bug in bin_SCRIPTS

13 years agoGit should ignore *~ everywhere
Michal Sojka [Tue, 22 Feb 2011 14:50:31 +0000 (15:50 +0100)]
Git should ignore *~ everywhere

13 years agoforb: fcb script passes a server id to forbrun
Petr Benes [Tue, 22 Feb 2011 12:08:19 +0000 (13:08 +0100)]
forb: fcb script passes a server id to forbrun

13 years agoforb: Update forb_server_id_to_string() documentation
Michal Sojka [Tue, 22 Feb 2011 11:41:42 +0000 (12:41 +0100)]
forb: Update forb_server_id_to_string() documentation

13 years agoforbrun: Support --serverid command line switch
Michal Sojka [Tue, 22 Feb 2011 11:41:22 +0000 (12:41 +0100)]
forbrun: Support --serverid command line switch

13 years agofcb: Parse command line parameters in wrapper script
Michal Sojka [Tue, 22 Feb 2011 11:32:21 +0000 (12:32 +0100)]
fcb: Parse command line parameters in wrapper script

This is needed for -d to be passed to forbrun instead to libfcb.so.

13 years agoforb: forbrun passes the parameters to shlibs properly
Petr Benes [Tue, 22 Feb 2011 11:24:27 +0000 (12:24 +0100)]
forb: forbrun passes the parameters to shlibs properly

13 years agoforb: makefiles for scripts fixed (make successful)
Petr Benes [Tue, 22 Feb 2011 10:57:28 +0000 (11:57 +0100)]
forb: makefiles for scripts fixed (make successful)

13 years agoforb: scripts fixed by adding -- in front of shlib
Petr Benes [Tue, 22 Feb 2011 10:41:43 +0000 (11:41 +0100)]
forb: scripts fixed by adding -- in front of shlib

13 years agoforbrun: Correctly handle arguments to -i switch
Michal Sojka [Tue, 22 Feb 2011 10:38:05 +0000 (11:38 +0100)]
forbrun: Correctly handle arguments to -i switch

13 years agoforb: scripts calling binaries and shlibs in path
Petr Benes [Tue, 22 Feb 2011 10:29:51 +0000 (11:29 +0100)]
forb: scripts calling binaries and shlibs in path

The relative path does not have to be specified.

13 years agoforb: added scripts executing dynamic shared libraries
Petr Benes [Tue, 22 Feb 2011 09:54:47 +0000 (10:54 +0100)]
forb: added scripts executing dynamic shared libraries

The scripts are responsible for a backward compatibility.
orb_id is now being passed to forbrun from the scripts.

However, the scripts do not pass the make. Omk accepts .sh
extension instead of no extension scripts.

Minor bugs fixed also.

13 years agoUpdate Makefile.rules to have bin_SCRIPTS support
Michal Sojka [Mon, 21 Feb 2011 15:50:57 +0000 (16:50 +0100)]
Update Makefile.rules to have bin_SCRIPTS support

13 years agoMerge branch 'benesp16' of rtime.felk.cvut.cz:/frescor/frsh-forb
Petr Benes [Sun, 20 Feb 2011 12:16:04 +0000 (13:16 +0100)]
Merge branch 'benesp16' of rtime.felk.cvut.cz:/frescor/frsh-forb

13 years agoforb: executable resources and fcb changed into dynamic libs
Petr Benes [Sun, 20 Feb 2011 12:15:21 +0000 (13:15 +0100)]
forb: executable resources and fcb changed into dynamic libs

13 years agoforb: Fix synchronization error in forbrun
Michal Sojka [Sun, 20 Feb 2011 09:42:58 +0000 (10:42 +0100)]
forb: Fix synchronization error in forbrun

forbrun starts servers synchronously, i.e. the next server is started
only after the previous one is fully initialized (see
forb_signal_server_ready()). This synchronization was broken because
forb_signal_server_ready() was incorrectly called in
forb_execute_object() called from forb_execution_thread() called from
forb_init(). This caused that the semaphore for the synchronization had
the value of one (instead of zero) when forb_init() finished.
Therefore, the first waiting for the semaphore returned immediately
without actually waiting for the server.

This is now fixed by introduction of default_executor which is declared
in struct forb. This executor is initialized "manually", without
forb_execute_object(), so that the forb_signal_server_ready() is not
called.

In future, we might want use the default executor for executing requests
to other objects, which do not require a separate thread.

13 years agoforb: Regref test converted to wvtest style
Michal Sojka [Sun, 20 Feb 2011 08:56:06 +0000 (09:56 +0100)]
forb: Regref test converted to wvtest style

Propagation of references from one orb to another is currently broken
and the test for that is commented out.

13 years agoforb: Convert syncobj test to wvtest style
Michal Sojka [Sun, 20 Feb 2011 08:37:39 +0000 (09:37 +0100)]
forb: Convert syncobj test to wvtest style

13 years agowvtest: WVFAIL(cond) returns cond
Michal Sojka [Sun, 20 Feb 2011 08:31:58 +0000 (09:31 +0100)]
wvtest: WVFAIL(cond) returns cond

Previously WVFAIL returned !cond. In my optinion it was confusing
because the statements
  if (cond) print_error();
and
  if (WVFAIL(cond)) print_error();
behaved differently. Now, they are functionally equivalent. In the
implementation we use C extensions typeof() and "statement expression"
to avoid duplication of side-effects caused by cond evaluation.

13 years agoforb: Increase log level for executor test
Michal Sojka [Sat, 19 Feb 2011 22:59:33 +0000 (23:59 +0100)]
forb: Increase log level for executor test

13 years agoforb: Fix deadlock in executor
Michal Sojka [Sat, 19 Feb 2011 22:57:48 +0000 (23:57 +0100)]
forb: Fix deadlock in executor

The first iteration of executor loop waited for the request without
actually checking that there is no request in the queue. Therefore,
when the client sent the request before the executor called
fosa_cond_wait()  for the first time, the executor blocked indefinitely.

13 years agoforb: Convert some older tests to wvtest framework
Michal Sojka [Sat, 19 Feb 2011 15:22:37 +0000 (16:22 +0100)]
forb: Convert some older tests to wvtest framework

13 years agoforb: Fix incorrect parameter of forb_peer_put()
Michal Sojka [Sat, 19 Feb 2011 15:00:11 +0000 (16:00 +0100)]
forb: Fix incorrect parameter of forb_peer_put()

13 years agoforb: Free "new_peers" on destroy
Michal Sojka [Sat, 19 Feb 2011 14:59:15 +0000 (15:59 +0100)]
forb: Free "new_peers" on destroy

The so called new_peers were not freed and their sockets were not closed.
We are fixing it now.

13 years agoforb: Do not compile inet_broadcast if it is not used
Michal Sojka [Sat, 19 Feb 2011 13:42:16 +0000 (14:42 +0100)]
forb: Do not compile inet_broadcast if it is not used

When inet is the default protocol, broadcasts are not used (because they
are not reliable). Previously, if inet was the default, we didn't bind the
socket to multicast address and thus we were not able to receive the
broadcasts. This situation was confusing and therefore it is better omit
the implementation of inet_broadcast entirely to make this clear that it
is not used.

13 years agoforbrun: Enable uLUt-based logging
Michal Sojka [Fri, 18 Feb 2011 23:42:20 +0000 (00:42 +0100)]
forbrun: Enable uLUt-based logging

It had no sense to disable it -- it works fine for FORB logging. If it
is needed to change log levels of server, this could be implemented in
forb_main() of the particular server.

13 years agoforbrun: Do not set ID if it is not specified on command line
Michal Sojka [Fri, 18 Feb 2011 23:35:20 +0000 (00:35 +0100)]
forbrun: Do not set ID if it is not specified on command line

13 years agoforb: Destroy forb at the end of executor_test
Michal Sojka [Fri, 18 Feb 2011 23:27:42 +0000 (00:27 +0100)]
forb: Destroy forb at the end of executor_test

This make wvtest happy because it closes all the file descriptors
that were open by FORB so the final check in wvmain passes.

Now, all wvtests passes!

13 years agoforbrun: Comment out not passing test
Michal Sojka [Fri, 18 Feb 2011 23:19:46 +0000 (00:19 +0100)]
forbrun: Comment out not passing test

This test does not pass because the registered references are not
distributed to other servers. This will be hopefully implemented later
through some kind of name server.

13 years agoforb: Rephrase documentation
Michal Sojka [Fri, 18 Feb 2011 23:15:44 +0000 (00:15 +0100)]
forb: Rephrase documentation

13 years agoforbrun: Handle errors in test_client
Michal Sojka [Fri, 18 Feb 2011 22:32:40 +0000 (23:32 +0100)]
forbrun: Handle errors in test_client

13 years agoforbrun: Simplify argument processing
Michal Sojka [Fri, 18 Feb 2011 22:25:28 +0000 (23:25 +0100)]
forbrun: Simplify argument processing

13 years agoforb: Fix races between instances of forb_main_thread
Michal Sojka [Fri, 18 Feb 2011 22:03:58 +0000 (23:03 +0100)]
forb: Fix races between instances of forb_main_thread

The data passed to forb_main_thread must be allocated for each thread
separately. Otherwise, threads may access data intended for other threads.

13 years agoforb: Add tests for forbrun command line parameters
Michal Sojka [Fri, 18 Feb 2011 21:40:50 +0000 (22:40 +0100)]
forb: Add tests for forbrun command line parameters

13 years agoforb: Update forbrun usage help
Michal Sojka [Fri, 18 Feb 2011 21:19:23 +0000 (22:19 +0100)]
forb: Update forbrun usage help

13 years agoUpdate Makefile.rules to the latest version
Michal Sojka [Thu, 17 Feb 2011 23:33:37 +0000 (00:33 +0100)]
Update Makefile.rules to the latest version

There is an improved support for wvtest framework.

13 years agoforb: fixed passing parameters to shared libraries in forbrun
Petr Benes [Thu, 17 Feb 2011 15:59:16 +0000 (16:59 +0100)]
forb: fixed passing parameters to shared libraries in forbrun

13 years agoforbrun: Exit whenever the first forb_main() returns
Michal Sojka [Thu, 17 Feb 2011 14:32:30 +0000 (15:32 +0100)]
forbrun: Exit whenever the first forb_main() returns

The exit code of forbrun is the returned value of forb_main().

13 years agoforb: Use new syntax for forbrun command line
Michal Sojka [Thu, 17 Feb 2011 14:29:37 +0000 (15:29 +0100)]
forb: Use new syntax for forbrun command line

We have added '--' before the name of the first library as it simplifies
command line parsing.

13 years agoforb: Add tests for forbrun
Michal Sojka [Thu, 17 Feb 2011 13:55:50 +0000 (14:55 +0100)]
forb: Add tests for forbrun

13 years agoforb: Move shared library tests under forbrun/ directory
Michal Sojka [Thu, 17 Feb 2011 11:18:57 +0000 (12:18 +0100)]
forb: Move shared library tests under forbrun/ directory

13 years agoforb: First implementation of forbrun
Michal Sojka [Tue, 15 Feb 2011 16:12:15 +0000 (17:12 +0100)]
forb: First implementation of forbrun

Not tested! forbrun should executed FORB servers implemented as shared
libraries. Its aim is to allow execution of multiple independent servers
in a single process. This is done in preparation of porting FRSH/FORB to
RTEMS (and other single-address space executives).

13 years agoforb: Add support for synchronized initialization of multiple servers
Michal Sojka [Tue, 15 Feb 2011 15:24:32 +0000 (16:24 +0100)]
forb: Add support for synchronized initialization of multiple servers

This is needed in forbrun (future commit) to start multiple servers in a
single address space.

13 years agoforb: Add comments to forb_daemon_prepare()
Michal Sojka [Tue, 15 Feb 2011 15:23:06 +0000 (16:23 +0100)]
forb: Add comments to forb_daemon_prepare()

13 years agoforb: Added shared library for testing of forbrun-based server execution
Michal Sojka [Tue, 15 Feb 2011 13:40:05 +0000 (14:40 +0100)]
forb: Added shared library for testing of forbrun-based server execution

13 years agoforb: object serialization working even for inter-executor invocation
Petr Benes [Tue, 15 Feb 2011 12:24:14 +0000 (13:24 +0100)]
forb: object serialization working even for inter-executor invocation

in case the object being deserialized indicates being local,
it is not being created from scratch, however just copied

13 years agoforb: End of header index removed from stub.
Petr Benes [Fri, 11 Feb 2011 15:22:43 +0000 (16:22 +0100)]
forb: End of header index removed from stub.

It is now embedded into the request structure. Does not make
so much mess in stubs.

13 years agoforb: Objects must be properly reference-counted
Michal Sojka [Fri, 11 Feb 2011 15:07:40 +0000 (16:07 +0100)]
forb: Objects must be properly reference-counted

This fixes some nasty segfaults.

13 years agoInter-executor invocation bugs fixed.
Petr Benes [Fri, 11 Feb 2011 14:35:55 +0000 (15:35 +0100)]
Inter-executor invocation bugs fixed.

Double free bug on request codec buffer fixed.
Stub index indicating a codec read position for inter-executor invocation fixed.

Test application->executor->executor does not fire properly. Needs a bug fix.

13 years agoStruct request adjusted for inter-executor invocation.
Petr Benes [Thu, 10 Feb 2011 14:27:26 +0000 (15:27 +0100)]
Struct request adjusted for inter-executor invocation.

Bug fix required.

13 years agoMerge branch 'master' of rtime.felk.cvut.cz:/frescor/frsh-forb
Petr Benes [Tue, 8 Feb 2011 17:05:38 +0000 (18:05 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/frescor/frsh-forb

13 years agoMerge branch 'master' of rtime.felk.cvut.cz:/frescor/frsh-forb
Petr Benes [Tue, 8 Feb 2011 17:04:55 +0000 (18:04 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/frescor/frsh-forb

Conflicts:
build/aquosa/wvtest

13 years agoforb: Add test for various invocation methods
Michal Sojka [Tue, 8 Feb 2011 17:01:37 +0000 (18:01 +0100)]
forb: Add test for various invocation methods

This tests the following:
1) remote invocation (currently broken)
2) local invocation from application to the executor
3) local invocation from an executor to another one
4) direct invocation from an executor to the same one

13 years agoIDL compiler: Invoke methods directly only within the same executor
Michal Sojka [Tue, 8 Feb 2011 16:45:13 +0000 (17:45 +0100)]
IDL compiler: Invoke methods directly only within the same executor

13 years agoSimplify frob_get_current_executor()
Michal Sojka [Tue, 8 Feb 2011 16:40:54 +0000 (17:40 +0100)]
Simplify frob_get_current_executor()

Return the executor as return value and not via a parameter.

13 years agowvtest: Show stringified expressions in WVPASSEQ/NE
Michal Sojka [Tue, 8 Feb 2011 15:34:33 +0000 (16:34 +0100)]
wvtest: Show stringified expressions in WVPASSEQ/NE

Previously, WVPASSEQ(func(), 0) printed only "0 == 0 ok", whereas now,
it prints "func() == 0 == 0 ok". This is useful when the test fails so
that the real value is seen in the output e.g. "func() == 1 == 0 FAILED".

13 years agoFixed synchronization for codec buffer.
Petr Benes [Tue, 8 Feb 2011 15:30:23 +0000 (16:30 +0100)]
Fixed synchronization for codec buffer.

13 years agoMakefile: Add missing header file
Michal Sojka [Tue, 8 Feb 2011 15:29:56 +0000 (16:29 +0100)]
Makefile: Add missing header file

13 years agoFixed typography.
Petr Benes [Tue, 8 Feb 2011 14:38:21 +0000 (15:38 +0100)]
Fixed typography.

13 years agoMerge branch 'master' of rtime.felk.cvut.cz:/frescor/frsh-forb
Petr Benes [Tue, 8 Feb 2011 13:53:32 +0000 (14:53 +0100)]
Merge branch 'master' of rtime.felk.cvut.cz:/frescor/frsh-forb

13 years agoPrepared for multiple executors in a single address space
Petr Benes [Tue, 8 Feb 2011 13:52:56 +0000 (14:52 +0100)]
Prepared for multiple executors in a single address space

Object implementation invocation prepared for a use of multiple
executors running in a single address space.

One can call the iop methods in the same way as for the case of
a remote invocation.