357 Topics

Member Avatar for
Member Avatar for Hsus

Hi... I need to implement multithreading in vb.net....I need to pass a parameter to the function which will be called by the thread...Can someone help me with this?

Member Avatar for jbennet
0
77
Member Avatar for curtissumpter

Hi people, Yeah, so I have an application that works. The code is not buggy and I have worked hard on it. It is three files long but the section I need help with is small. It is the paintComponent section. It is a multi-threaded application and if you want …

Member Avatar for curtissumpter
0
126
Member Avatar for serkan sendur

hi guys, today i found out that there is a free javascript multithreading library at : [url]http://www.infoq.com/articles/js_multithread[/url] it is under GNU license and free to use. It is a great and very easy to use tool.

0
67
Member Avatar for Datanizze

Hi! I have a slight problem with multithreading. There is many threads active in the application and they are all kept in an arraylist. so when I try to quit the program, it loops through the arraylist and exits all the threads.... but something else is making the program "unwilling" …

Member Avatar for Datanizze
0
165
Member Avatar for Acidburn

Hey guys, I've got a GUI thread, which creates a new thread to compute some data. Depending on how big that data is more threads get spawned from the new thread. My problem is this GUI - Thread A - Thread A creates a new Object called objectB. Object B …

Member Avatar for LizR
0
78
Member Avatar for JacquesB

Hi, I have a multithreading bug somewhere, probably not in the semaphores, but would like to make sure if out-of-order execution (OoOE) could produce some weird problem: I explain the problem in 3 steps: Step 1: mov eax, dword ptr [Some_global_variable_ONE] mov ebx, dword ptr [Some_global_variable_TWO] Due to OoOE, the …

0
37
Member Avatar for ruri

Hi, I'm new to C, and an assignment for multithreading was just kind of thrown at me, so I'm kind of lost. I need to write a program that creates four threads. The first thread would have to read stdin, writes the char to array of 64 bytes, and after …

Member Avatar for ruri
0
109
Member Avatar for TasostGreat

I'm trying to write a program in C++ which writes characters into a file from 100 chars up to 120.000.000 chars in Linux. Would it be faster if I would try to use multithreading and if yes could you give me some advice some links to useful sites maybe some …

Member Avatar for Salem
0
172
Member Avatar for rottmanj

To get things started, I am re-writing an application that I originally wrote in perl. So I am some what sticking with the same concept as I did for the perl version. This application uses multithreading in order to handle multiple configurations and data streams. At this point, I have …

0
68
Member Avatar for Tyster

Hi Folks, I have a general question about multithreading... I have a small app that is multithreaded. I have a main() class and a separate Runnable class that implements the Runnable interface. The problem I have is that the Runnable class needs to return an integer to main(). But this …

Member Avatar for Tyster
0
143
Member Avatar for mvnr_83

Hi All, I have one requirement that, i am displaying results getting from various sites by sending request to their servers using http_client::get method.But it is taking much longer time to get back the response. I am using for loop to send the requests to all the servers(approx 40).So it …

Member Avatar for ShawnCplus
0
68
Member Avatar for Acidburn

Hey guys, I've an issue when it comes to multithreading i seem to get this error after updating a variable... [quote] Cross-thread operation not valid: Control 'progressBar1' accessed from a thread other than the thread it was created on. [/quote] Basically I'm trying to use a progress bar indicator to …

Member Avatar for dickersonka
0
99
Member Avatar for squiddog

Hi all - I need some advice on how to handle multithreading in a GUI. I wrote an application in C# using only the GUI thread (see screenshot) and at times there are "long operations" where the database is being accessed and the right hand pane is being filled with …

Member Avatar for Jugortha
0
136
Member Avatar for Run.[it]

I came across this example of a chat app here... [url]http://www.daniweb.com/forums/thread59565.html[/url] and am having trouble creating the multiple client part that is mentioned at the bottom... [I]If you want it to support multiple clients then put the TcpListener into an infinite loop in another thread etc.[/I] I was wondering if …

Member Avatar for Run.[it]
0
187
Member Avatar for blindkilla

Here is my situation. Im trying to learn how to take full advantage of multithreading but am at a rump. I have one listbox of usernames and it checks them on a website to see if they exist or not. If they exist it puts the username into listbox2. Now …

Member Avatar for LizR
0
86
Member Avatar for tonymate

Hi friends I am newbie, accidently posted this post on introduction forum. Anyway, I am working on multithreaded programming and thread synchronization in Java to control traffic. I was told that Java is easier with multithreading than C++. I don't really mind as long as it works as expected. Even …

Member Avatar for javaAddict
0
131
Member Avatar for stilllearning

As long as we are on multithreading, I have a question too .. I basically have a implementation of pthreads on Linux and I want to port it to Windows .. I have read a bunch of docs on how to do this, but I also came across the pthreads-win32 …

0
77
Member Avatar for Sci@phy

I'm a beginner in that area, but would like to learn more. Is there any nice tutorial on the web for Windows OS regarding multithreading?

Member Avatar for Ancient Dragon
0
120
Member Avatar for winbatch

Hi, Trying to play with multithreading by taking some of my existing apps and converting them over. In doing so, I noticed a strange phenomenon that I've been able to reproduce in a very simple program. let's say I create 2 threads. Each thread simply does a for loop from …

Member Avatar for Ancient Dragon
0
143
Member Avatar for hbmarar

Hi, Singleton classess concept , i believe i understand. I played a bit with more use but i do not know how to modify a normal context singleton for a multithreaded environment in PHP. I do understand that multithreading is not possible in PHP or could be faked only but …

0
79
Member Avatar for dmanw100
Member Avatar for kux
0
154
Member Avatar for ehsan_op

hello All, I am trying to write a multi threaded program in C++ , but it suddenly exits and i can not understand what happens , it actually do not get any error message or exceptions error , just get out of the program. need your help, thanks . [code=c++] …

Member Avatar for ehsan_op
0
146
Member Avatar for adRiaNn

Hi guys, I am doing multithreading in my C++ program. Now i seriously STUCK in my program.:confused: Ok, My program have 2 different base class, and each of the base class have a sub class, Example, subclass1 inherited from baseclass1, subclass2 inherited from baseclass2, HOW to make subclass1 and subclass2 …

Member Avatar for adRiaNn
0
82
Member Avatar for splakhin

Hi everybody! I wrote for my company one little test application: Frame , Pmw.NoteBook and few buttons. and one main button 'Start' under NoteBook which starts process depend on name of Pmw.NoteBook... everything is fine , the problem is each of the processes run ~10 min and all this time: …

Member Avatar for splakhin
0
140
Member Avatar for starkman

Hi there, Hopefully this a quick question. Say i have program prog1.cpp and prog2.cpp and they will both take the same amount of time. i.e. One is reading a file and outputs a figure and the other is a video application Is there a way i can get these to …

Member Avatar for Ancient Dragon
0
194
Member Avatar for Joatmon

Hi, after searching this forum adequately (I think) I have decided to post this thread asking for an easy to understand resource that describes how to do multithreading on C++ in windows. The current ones I am finding out there on the web either 1. Simply don't work or 2. …

Member Avatar for Ancient Dragon
0
110
Member Avatar for jimmy.rocks1

Hi, I am having a problem in implementing multithreading in my program.i have a function which goes like this int x=NodesArray[2]->SendData(routeInfo,countDataPackets,pathInf); i want to call this function with the help of CreateThread and i did it this way hThread[0]=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)NodesArray[2]->SendData(routeInfo,countDataPackets,pathInf),NULL,0,&dwID[i]); i just read some programs online and read microsoft visual c++ …

Member Avatar for jimmy.rocks1
0
122
Member Avatar for jimmy.rocks1
Member Avatar for bagi

Client side: import java.io.*; import java.net.*; class TCPClient { public static void main(String[] args) throws Exception { String sentence; String modifiedSentence; BufferedReader inFromUser = new BufferedReader (new InputStreamReader(System.in)); while(true) { Socket clientSocket = new Socket("hostname", 5678); DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream()); BufferedReader inFromServer = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); sentence = inFromUser.readLine(); …

Member Avatar for masijade
0
83
Member Avatar for jaepi

Hello there. I just want to ask some simple explanation about multithreading in this situation. Suppose I have two CD/DVD drives and an applicaton that enables me to control these two drives. This application uses multithreading. How would this thread be implemented or what is the help that this multithreading …

Member Avatar for Tricci
0
85
Member Avatar for sravankolla

Hii I want to work with MultyThreading concept and I am using the following code. But when i try to run the the MultiThreading (multiThreadedButton_Click()) its giving an error at FillList() function. The code is : [code=C#.Net] private void Delay(int v_MilliSeconds) { long startTime = Environment.TickCount; while( Environment.TickCount - startTime …

Member Avatar for vp_aries14
0
109
Member Avatar for viraltaj

Hello friends, This is my first post on this forum. I just came here to learn a bi t of C++. I have developed an operating system called TAJ in C++. Its an object oriented operating system. It is multitasking, multithreading and multiuser operating system. This is its link: <snipped …

Member Avatar for jan1024188
0
160
Member Avatar for Thanikagopi

Hi, I am Working on the VB.Net perform to perform a Multithreading for acessing the Database. I am Little bit confusion about how to create more threads and When this thread will stop the process, and i am in need of how to handle many thread using the single timer …

Member Avatar for arjunsasidharan
0
141
Member Avatar for ScatmanTom

Hello there! I'm new here, like to say hello to you all. I'll probably be needing help on plenty more themes soon as I'm looking to continue this subject alone when the Semester finishes. I'm studying Java and just can't get my head around Multithreading. Wonder if anyone could help …

0
55
Member Avatar for l2u

Hello Im working on a huge server on windows and im not sure what approach for multiclients should I use.. I know multithreading is not good, so I've been using non-blocking sockets until now (1 thread), which has limitation but this can be easily changed.. I wondered what do you …

Member Avatar for WolfPack
0
76
Member Avatar for ntony

[COLOR="DarkRed"][B]OBJECTIVE[/B][/COLOR] • Seeking a position of software developer working with Java/J2EE, Hibernate, Velocity, XML, … , telecommute • Able to work under stress, with tight deadlines [COLOR="darkred"][B]EXPERIENCE[/B][/COLOR] • 5+ year of experience as software developer at MaxIQ Computer • 3 year of experience as web developer at MaxIQ Computer and …

0
59
Member Avatar for kararu

Hi, I am doin a multithreading program in c++. ...... class thr {...... public: d =new char[35]; ...... void start(){...start thread by calling function run..} void run(){...} int joining(){..join all threads} ~thr(){delete []d;} }; In the program I am creating all threads,calling start on all thread objects and then calling …

Member Avatar for Salem
0
108
Member Avatar for ashish.bagade

I am using third party library for developement of the system and that third party library is not supporting for the multithreading. Is there any way to support the multithreading functionality without touching the code of the library? ;)

Member Avatar for Ancient Dragon
0
53
Member Avatar for misiom

Hello, I have a Activex exe, that makes use of multi threading. I have two PCs. A and B. When I run the program on A ( both in debug and compiled exe) it executes fine. I then created a package, installed it on PC B and the exe ran …

Member Avatar for Comatose
1
155
Member Avatar for kararu

Hi , Anyone help me out with a clarification. Can a 'C++ multithreaded program' be used with inline::c++ module in perl? Want to be sure whether multithreading can be done when using inline. thanks in advance karthika.

Member Avatar for MattEvans
0
119
Member Avatar for beuls

I have written a program in c# for quick sort using multithreading. but the code has a problem. the array is not sorted properly. i think it is because the parent thread terminates soon before the child threads sort the array. i am attaching the code herewith. kindly help me.any …

Member Avatar for _r0ckbaer
1
273
Member Avatar for vinahorse78

[INDENT]Hi all, I hava to do a small project about Multithreading in Java. The project must relate to Multithreading, realtime, struglle (the project must be a complete program and it returns a result). I have never been studied about Java, so could you give me some projects ? I look …

Member Avatar for larytet
0
222
Member Avatar for Guanche

Hi all, Just to make it short: am a programmer. I love OOP programming. Started the days of Glorious Borland Turbo Pascal, and for the last 8 years or so with C++ (vc++). Lately i have been programming in c# as well. My work was mostly designing and writing servers: …

0
34
Member Avatar for sam1
Member Avatar for iamthwee
0
69
Member Avatar for ilikerps

Hello, I am working on a server program that deals with opening files, or at least that is all that is relevant for this post. I am using VC++. I use multithreading so that it can be multi-client, of course, but when I try to use this line: [CODE]infile.open(filename, ios::in);[/CODE] …

Member Avatar for ilikerps
0
227
Member Avatar for ilikerps

Hello. I am trying to convert my chat client from a C++ program that runs in DOS into one that runs in a Windows Dialog. I am using Visual C++. However, I am already getting a second error (please understand that there have been many before this that I [I]have[/I] …

Member Avatar for ilikerps
0
214
Member Avatar for ilikerps

Hello, I am having a problem with sockets. Not the sockets themselves, exactly, but more of the recieving and accepting of messages and connections (respectively) at the same time. My program runs a loop where it will wait to accept a connection (using accept()), and then wait to recieve a …

Member Avatar for ilikerps
0
131
Member Avatar for Micko

Hello, somewhere I wrote this assignment_ "Write concurent service to keep track of students records" I'm wondering what term concurent service means, does that mean multithreading or what? I know this question is not specified enaugh, but i found that on one .edu page of some university. Do you know …

Member Avatar for Micko
0
142
Member Avatar for jlimty

Hi, I was wondering if there are any Ruby experts out there who can help me. I am currently writing a program and I wish to use multithreading. How do I go about doing this? I have 2 seperate threads (which do different things) created but how do I run …

Member Avatar for jlimty
0
391
Member Avatar for shre86

I would like some help regarding multithreading... i want to know what exactly happens when i start a new thread... i.e how it affects the variables etc. in the program... one query i have is what happens if i start 2 threads starting with the same function.. will their running …

Member Avatar for shre86
0
86

The End.