Multi-threading is the ability of a computer or a program to perform work concurrently or asynchronously by utilizing multiple concurrent streams of execution (generally referred to as threads).

learn more…| top users | synonyms (6)

0
votes
0answers
15 views

Synchronize writing to log in a multi-threading process

I implemented a Logger, so it can be used like ostream.e.g, if someone wants to write to the log - he can do something like this:LOG << "hello world " << 6 << 8.6 << "\n";...
-5
votes
0answers
18 views

Multithreading in Java Web application [on hold]

Where do we use java multithreading in real time web application with example , and where will thread comes into picture in an web application ?
0
votes
1answer
9 views

Error with Threads in Tcl - No Such Variable Error When Sourcing within thread

Getting an error, can't read "chan" no such variable, that is contained within a file I am sourcing within the thread in another file, chan is not even in the file I am using with my threads.thread::...
2
votes
0answers
27 views

Multithreading: Only the original thread that created a view hierarchy can touch its views

I am developing an app in c# where the class is supposed to download and update the userpicture and his landscape picture in an async task:public PVH_Profile_Header(View itemView, Action<int&...
0
votes
0answers
18 views

corrupted \00\00\00\00\00\00\00\00 lines in python log file

After exiting my python3 application I sometimes have those lines in my log files.\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00I think this happens when I exit ...
-1
votes
1answer
18 views

Python Core Splitting multiprocessing

I'm using python to perform complicated SQL queries and append results in a single dataframe. I'm performing the same query just over many sql databases with a simple replace the database name from a ...
-4
votes
2answers
31 views

make a rectangle move in a different thread? [on hold]

public partial class Form4 : Form{int x, y=10;Graphics g;public Form4(){InitializeComponent();}private void Form4_Load(object sender, EventArgs e){...
-5
votes
0answers
24 views

parallel vs threadpool c# synchronisation missing in parallel [on hold]

My people saying thread parallel is greater the threadpool programmingbut in parallel programming i am missing late of options in threadpool like.A can add new task at any time in threadpool,can ...
-2
votes
2answers
36 views

Can I access another thread's resources in Java from a different thread?

I have a situation where I want to access threads in Waiting or Blocked state and destroy their connections to an external Server. Is this possible without making a global variable that stores those ...
0
votes
0answers
11 views

Using Queue with tkinter (threading, Python 3)

I have a script in Python 3 and I'm trying to make a GUI for it using tkinter.Here is a complete example of working code:#!/usr/bin/python# coding: utf-8import pickleimport openpyxlfrom ...
0
votes
2answers
44 views

Should I actually remove the valueEventListener?

DatabaseReference Ref=FirebaseDatabase.getInstance().getReference(Constants.Client + "/" + path);Ref.keepSynced(true);Ref.addValueEventListener(new ValueEventListener() {...
0
votes
0answers
14 views

Does every Rails request instantiate new Helper modules?

I know every request to a Rails app instantiates a new controller for the request, so the controller itself is thread safe.So, if I make a request to /users, the UsersController for example will be ...
0
votes
5answers
42 views

Java Script is a single threded then how it can have fetch or other libraries to make async request

We can make Fetch or any other Async request with JavaScript, But Java script is itself a single threaded quite confusing
0
votes
1answer
20 views

python3 appropriate way to interrupt multi-thread

I'm writing a multi-thread web crawler, the routine function for each thread is basically a endless loop, and there is a shared dictionary to store those url which have already been accessed, and I ...
-5
votes
1answer
22 views

Please help explain fork() in Operating System [duplicate]

Given the following piece of code:main(int argc, char ** argv) {int child=fork(); int c=5;if (child==0) {c +=5;} else {child=fork(); ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,