Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about shared-data

Read more about shared-data

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - shared-data

multiprocessing.Pool map multiple arguments with shared value (Resolved)

I am practicing on using shared values for multiprocessing. I have an existing Process function that is working using shared value: def run_procs_with_loop(lock): # this is my shared value ...
test-img

punsoca

python

python-multiprocessing

process-pool

shared-data

Votes: 0

Answers: 2

Latest Answer

When you write pool.map(add_100_with_lock, [(shared_number,lock)] * 2) the iterable you are passing as a parameter is a list of tuples, so add_100_with_lock will not get two parameters, but a single ...
test-img

azelcer

Share data without database

I have this web application that gets and displays data from SAP, but i need a way (maybe a JSON file?) to share some data between different users, with the possibility to modify these same data for e...
test-img

fox9663

javascript

concurrency

frontend

shared-data

Votes: 0

Answers: 2

Latest Answer

If you talking about some prototype like MVPs, I think JSON files would be best. However, consider to work also that you can work with Local Storage.
test-img

daniel sas

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved