source: trunk/man/arm_unblock_transaction.3 @ 704

Revision 614, 3.3 KB checked in by dcarter, 4 years ago (diff)

see #111 - Build beta3

Line 
1.\" Copyright (c) 2005-2008 David Carter <dcarter@arm4.org> and others.
2.\" All rights reserved.   This program and the accompanying materials
3.\" are made available under the terms of the Eclipse Public License v1.0
4.\" which accompanies this distribution, and is available at
5.\" http://www.eclipse.org/legal/epl-v10.html
6.TH "arm_unblock_transaction" 3 "August 2008" "arm4.org" "ARM 4 Programmer's Manual"
7.SH NAME
8arm_unblock_transaction \- unblock transaction
9.SH SYNOPSIS
10.B #include <arm4.h>
11.sp
12\fBarm_error_t
13.br
14arm_unblock_transaction(
15.br
16    const arm_tran_start_handle_t \fItran_handle\fB,
17.br
18    const arm_tran_block_handle_t \fIblock_handle\fB,
19.br
20    const arm_int32_t \fIflags\fB,
21.br
22    const arm_buffer4_t *\fIbuffer4\fB);\fR
23.SH DESCRIPTION
24\fBarm_unblock_transaction()\fR indicates that the suspension indicated by the \fIblock_handle\fR for the
25transaction identified by the start handle is no longer waiting for a downstream transaction to
26complete.
27
28Call \fBarm_unblock_transaction()\fR when a transaction is no longer blocked on an external event. It
29should be called when \fBarm_block_transaction()\fR was previously called and the blocking
30condition no longer exists. Knowledge of when a transaction is blocked can be useful for better
31understanding response times. It is useful to separate out this "blocked" time from the elapsed
32start-to-stop time. The unblocked call is paired with a block call for finer grained analysis.
33
34\fBarm_stop_transaction()\fR is an implicit \fBarm_unblock_transaction()\fR for any blocking condition for
35the transaction instance that has not been cleared yet [\fBarm_block_transaction()\fR issued without a
36matching \fBarm_unblock_transaction()\fR]. It should only be called without calling
37\fBarm_unblock_transaction()\fR first when the blocking condition ends immediately prior to the
38transaction ending.
39
40\fIblock_handle\fR is a handle returned in an out parameter from an \fBarm_block_transaction()\fR call in the
41same process.
42
43\fIbuffer4\fR is a pointer to the user data buffer, if any. If the pointer is null, there is no buffer. No
44sub-buffer types are currently valid with this function call, so the pointer should be
45null (\fBARM_BUF4_NONE\fR).
46 
47\fIflags\fR contains 32-bit flags. No values are currently defined. The field should be zero
48(\fBARM_FLAG_NONE\fR).
49
50\fItran_handle\fR is a handle returned in an out parameter from an \fBarm_start_transaction()\fR call in the
51same process.
52
53.SH "RETURN VALUE"
54On success, the function returns \fBARM_SUCCESS\fR. A non-zero value indicates
55an error.
56.SH ERRORS
57If the return code is negative, an error occurred. If the return code is not negative, an error may
58or may not have occurred - the determination of what is an error and whether an error code is
59returned is at the discretion of the ARM implementation. The application can test the return code
60if it wants to provide its own error logging.
61
62The following errors are recognized by this implementation, but may not be portable to other implementations:
63
64.TP
65.B ARM_FAILURE_INTERNAL_ERROR
66An internal error has occurred that prevented the operation from completing. Check your
67system log for more details.
68.SH "CONFORMING TO"
69ARM Issue 4.0 C Language Bindings, Version 2
70.SH EXAMPLE
71None.
72.SH "SEE ALSO"
73.BR arm_block_transaction (3),
74.BR arm_start_transaction (3),
75.BR arm_stop_transaction (3)
Note: See TracBrowser for help on using the repository browser.