[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: [haiku-bugs] [Haiku] #16703: THR: Test FAILED - conformance/interfaces/pthread_attr_setstack/2-1.tes
From: "Haiku" <trac () haiku-os ! org>
Date: 2020-12-29 3:54:55
Message-ID: 044.98cf3a1d79c48974abf70d70da5afec9 () haiku-os ! org
[Download RAW message or body]
--==============t82178773565960141=MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
#16703: THR: Test FAILED - conformance/interfaces/pthread_attr_setstack/2-1.test
-------------------------------------------------+-------------------------
Reporter: cocobean | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone:
| Unscheduled
Component: System/POSIX | Version:
Keywords: POSIX, pthreads, | R1/Development
pthread_attr_setstack | Blocked By:
Blocking: | Platform: All
-------------------------------------------------+-------------------------
Test pthread_attr_setstack()
Steps
{{{
1. Initialize pthread_attr_t object (attr)
2. set the stackaddr and stacksize to attr
3. create a thread with the attr
4. In the created thread, read the stacksize and stackaddr
}}}
NOTE: pthread_getattr_np is not a POSIX compliant API. It is provided by
nptl, which is developed by Ulrich Drepper.
Ref:
https://github.com/haiku/open_posix_testsuite/blob/from_haiku_trunk/conformance/interfaces/pthread_attr_setstack/2-1.c
Expected result: Test PASSED
Actual Result: got the wrong stacksize and stackaddr: No error (i.e. Test
Failed)
Tested on: Haiku hrev54815 x86 with Open POSIX Test Suite 1.5.2
--
Ticket URL: <https://dev.haiku-os.org/ticket/16703>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--==============t82178773565960141==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic