ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0002758 | Part 01: TTCN-3 Core Language | New Feature | public | 23-01-2008 10:48 | 16-02-2010 14:21

Reporter | Thomas DeiÃŸ |
Assigned To | Jens Grabowski |
Priority | normal | Severity | feature | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v3.2.1 (published 2007-02) |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version |  |
Clause Reference(s) | part 1, 21.2.2
Source (company - Author) | Thomas DeiÃŸ, Nokia Siemens Networks

Summary | 0002758: Queueing of function calls

Description

Parallel test components can execute one function at a time. On alive components it is possible to execute several functions one after the other. Starting a function using the start statement on a PTC on which another function is executed already causes a runtime system error. Therefore the behaviour on the calling PTC has to check using the running or done statements whether a new function can be started.
It would ease the definition of the calling behaviour if the start statements for consecutive functions on one specific component could be written one after the other without intermittent done statements. To be meaningful, the function calls have to be queued, i.e. execution of the second function starts only once the first function has terminated.
This can be achieved in different ways:
a) change the existing semantics. Instead of causing a dynamic error if a new function is started, queue this function.
b) Define a new type of PTCs, could be done similar to 'alive' in the create statement:
ptc.create queueing
c) extend the start function statement by a directive to indicate that the function is to be queued.
ptc.start(f(), queueing);
d) allow to consider a TTCN-3 function as a TTCN-3 procedure that can be called in a call statement. To avoid that the code to accept the call has to be written manually, a new kind of component or a specific behaviour is needed that accepts such function calls and executes the corresponding functions.
The alternatives have different advantages. These and further detail regarding d) are provided in the (yet to be) attached document.

Steps To Reproduce |
Additional Information | Applies also to edition 3.3 This CR has a strong relation to CR 224, return values of behaviour functions. These should be solved together in a consistent way.
Tags | No tags attached.

Relationships

related to | 0000413 | closed | Jens Grabowski | Static test configurations

Attached Files | queueing_functions_02.doc (98,304) 13-02-2008 08:48 http://oldforge.etsi.org/mantis/file_download.php?file_id=1341&type=bug CR2758.ppt (140,800) 16-03-2008 11:31 http://oldforge.etsi.org/mantis/file_download.php?file_id=1387&type=bug

Issue History
Date Modified | Username | Field | Change
23-01-2008 10:48 | Thomas DeiÃŸ | New Issue |
23-01-2008 10:48 | Thomas DeiÃŸ | Status | new => assigned
23-01-2008 10:48 | Thomas DeiÃŸ | Assigned To | => Ina Schieferdecker
23-01-2008 10:48 | Thomas DeiÃŸ | Clause Reference(s) | => part 1, 21.2.2
23-01-2008 10:48 | Thomas DeiÃŸ | Source (company - Author) | => Thomas DeiÃŸ, Nokia Siemens Networks
13-02-2008 08:48 | Thomas DeiÃŸ | File Added: queueing_functions_02.doc |
13-02-2008 08:49 | Thomas DeiÃŸ | Note Added: 0004945 |
10-03-2008 15:08 | Ina Schieferdecker | Target Version | => Edition 4.1.1 (not yet published)
13-03-2008 15:32 | Ina Schieferdecker | Note Added: 0005226 |
16-03-2008 11:31 | Ina Schieferdecker | File Added: CR2758.ppt |
15-07-2008 13:11 | Ina Schieferdecker | Note Added: 0006277 |
24-11-2008 11:03 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Jens Grabowski
12-12-2008 09:27 | Ina Schieferdecker | Relationship added | related to 0000413
12-12-2008 09:27 | Ina Schieferdecker | Note Added: 0007671 |
12-12-2008 09:27 | Ina Schieferdecker | Target Version | Edition 4.1.1 (not yet published) => Edition 4.2.1 (not yet published)
16-02-2010 14:21 | Jens Grabowski | Status | assigned => closed
16-02-2010 14:21 | Jens Grabowski | Note Added: 0009215 |
16-02-2010 14:21 | Jens Grabowski | Resolution | open => fixed

Notes

(0004945)
Thomas DeiÃŸ
13-02-2008 08:49

File with explanation and proposals uploaded. To be discussed by STF.

(0005226)
Ina Schieferdecker
13-03-2008 15:32

The related CR is in Mantis CR 378: Return values of PTC behaviour functions

(0006277)
Ina Schieferdecker
15-07-2008 13:11

The solution to this CR may have implications on the solutions to the various test configuration CRs such as 381, 413, 2143, 2025

(0007671)
Ina Schieferdecker
12-12-2008 09:27

To be discussed once the deployment and configuration package has been defined.

(0009215)
Jens Grabowski
16-02-2010 14:21

Partially solved by static configurations.