diff options
author | Neal H. Walfield <neal@gnu.org> | 2009-04-30 20:06:26 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2009-04-30 20:06:26 +0200 |
commit | a8824f9276e417d583e7de6aee9f816fbcc68403 (patch) | |
tree | 9b33657db37463920759b5f60b838908ce382f19 | |
parent | ebc526ccec316cafd473b70d9e9ba340818d5756 (diff) |
Add a small delay in the object_reply_on_destruction test.viengoos-on-bare-metal
-rw-r--r-- | ruth/ruth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ruth/ruth.c b/ruth/ruth.c index 4b1ede6..7c1815b 100644 --- a/ruth/ruth.c +++ b/ruth/ruth.c @@ -951,6 +951,10 @@ main (int argc, char *argv[]) while (! in) sched_yield (); + /* Wait a bit to ensure that the thread actually calls + vg_object_reply_on_destruction. */ + vg_sleep (VG_ADDR_VOID, VG_ADDR_VOID, 100 * 1000 * 1000); + /* Deallocate the object. */ debug (5, "Destroying object"); vg_folio_object_alloc (VG_ADDR_VOID, |