1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] how to share hash() function output with multiprocessing.Array in python 3?

Discussão em 'Python' iniciado por Stack, Setembro 11, 2024.

  1. Stack

    Stack Membro Participativo

    I need to share some 64-bit integers in a python 3 multiprocessing runtime.

    I tried to use multiprocessing.Array, and it works on linux, but fails on Windows.

    The long type for multiprocessing.Array is 64-bit on linux, but on Windows (10) it's only 32-bit! Cannot use the same code on both OSes.

    Are there other options if I don't want to manipulate pointers with multiprocessing.RawArray?

    (P.S. Cannot use multiprocessing.Manager)

    Continue reading...

Compartilhe esta Página