TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
satheesh babu
NA
128
312.2k
how to use threading for multi user to process the requests
Dec 20 2015 10:46 PM
Hi,
I have a code snippet, which is kept inside the timer control.
Steps
1. This timer will hit the database every 2 seconds and get the records which the status is false.
2. Pause the timer to process the top 1 record.
3. After getting the records, take the top 1 record and processes functionality.
4. Start the timer after processing the top 1 record.
The above code working well for record by record.
Now I want to enhance this code to process the records parallel processing, like if multiple users submitted the request then my code should process every users request at a time.
Please tell me some suggestions to achieve the new functionality.
The above code is used in the Windows service and installed in the server.
Thanks
Reply
Answers (
0
)
how to use threading or some thing in my code
windows service that converts oracle query to an excel file