diff options
author | Peter Xu <peterx@redhat.com> | 2022-03-01 16:39:06 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-03-02 18:20:45 +0000 |
commit | 095c12a4a2df4bb45e8d1b1f74dc7ea80fef9ca4 (patch) | |
tree | 8dd85c62daee6f8e4b1f71ebd85e38e05feef63c /.gitlab-ci.d | |
parent | cfc7dc8abfdb71e39e48bdb297b5e86fe2121d97 (diff) |
migration: Add postcopy_thread_create()
Postcopy create threads. A common manner is we init a sem and use it to sync
with the thread. Namely, we have fault_thread_sem and listen_thread_sem and
they're only used for this.
Make it a shared infrastructure so it's easier to create yet another thread.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220301083925.33483-7-peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to '.gitlab-ci.d')
0 files changed, 0 insertions, 0 deletions