object thread : object {
    uid 11f23e593d5761bd

    capabilities [
        kill
    ]

    method create [constructor] {
        param process ref process [cap:create_thread]
        param stack_top address
        param entrypoint address
    }

    method kill [destructor cap:kill]

    method exit [static] {
        param status int32
    }

    method pause [static]
    method sleep [static] {
        param until uint64
    }
}
