int qemu_paio_init(struct qemu_paioinit *aioinit)

{

    int ret;



    ret = pthread_attr_init(&attr);

    if (ret) die2(ret, "pthread_attr_init");



    ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);

    if (ret) die2(ret, "pthread_attr_setdetachstate");



    TAILQ_INIT(&request_list);



    return 0;

}

int qemu_paio_init(struct qemu_paioinit *aioinit)

{

    int ret;



    ret = pthread_attr_init(&attr);

    if (ret) die2(ret, "pthread_attr_init");



    ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);

    if (ret) die2(ret, "pthread_attr_setdetachstate");



    TAILQ_INIT(&request_list);



    return 0;

}

int FUNC_0(struct qemu_paioinit *VAR_0)

{

    int VAR_1;



    VAR_1 = pthread_attr_init(&attr);

    if (VAR_1) die2(VAR_1, "pthread_attr_init");



    VAR_1 = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);

    if (VAR_1) die2(VAR_1, "pthread_attr_setdetachstate");



    TAILQ_INIT(&request_list);



    return 0;

}

int FUNC_0(struct qemu_paioinit *VAR_0)
{ int VAR_1; VAR_1 = pthread_attr_init(&attr); if (VAR_1) die2(VAR_1, "pthread_attr_init"); VAR_1 = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); if (VAR_1) die2(VAR_1, "pthread_attr_setdetachstate"); TAILQ_INIT(&request_list); return 0; }