9,866,691 members (33,869 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
109 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 3
Page Size:
10
·
25
·
50
Tag filtered by: Parallel
[x]
Book Review - Programming Massively Parallel Processors (second edition) by Kirk and Hwu
by
John Michael Hauck
Technical Blog
13 May 2013
license:
CPOL
“Programming Massively Parallel Processors (second edition)” by Kirk and Hwu is a very good second book for those interested in getting started with CUDA.
General Programming
»
Parallel Programming
»
General
Parallel
multithreading in c#
by
OriginalGriff
Answer
11 May 2013
license:
CPOL
Set up a BackgroundWorker thread for each directory - they can share the same code, provided they don't affect any UI elements directly, and only use parameters and local variables (not class level variables: you would need locking for that).The MSDN page on BackgroundWorker includes a...
General Programming
»
Uncategorised Quick Answers
»
General
Threading
processing
multithreading
Parallel
multithreading in c#
by
shaikmohammedaamear mits
Question
11 May 2013
license:
CPOL
I am creating an application where i am moving files from one directory to another, where i have a function which process moving files.My problem is i have four directories where i want to process my function to move files parallellyby perfoming multithreading process but my function...
General Programming
»
Uncategorised Quick Answers
»
General
Threading
processing
multithreading
Parallel
HPC Template Library, A Supplement to the STL
by
trident99
Tip/Trick
8 Apr 2013
license:
LGPL3
The HPC Template Library is a supplement to the Standard Template Library providing threadsafe containers.
Platforms, Frameworks & Libraries
»
Stl
»
General
C++
Windows
STL
Dev
Intermediate
Parallel
Thread-Safe Synchronization Made Easier
by
essence
Article
1 Mar 2013
license:
CPOL
Local scope delegates and Lambda expressions allow for some very smart and useful utility functions.
General Programming
»
Threads, Processes & Ipc
»
Threading
C#
.NET
Dev
Intermediate
C#
C#4.0
Threading
Parallel
TPL
How to pause and stop Parallel.Foeach loop in C#
by
Animesh Datta
Question
28 Feb 2013
license:
CPOL
Hi Everyone...I have a Parallel.Foreach loop by which i load a listview , i have a button for stop the execution.Now my question is , when the execution is going on if i push the button then the process will be stopped .I found some code in net but nothing happens.my code is private...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Application
Parallel
Desktop
Listview is not responding by Parallel.Forech loop
by
Jegan Thiyagesan
Answer
25 Feb 2013
license:
CPOL
Hi,You are trying to access a control in other threads that was created in main thread. The exception you will get from your code is the Cross-thread exception.Try the code below:delegate void SetListviewItemsCallback(ListView.ListViewItemCollection listViewItems);private void...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Threading
ListView
Parallel
NET
Listview is not responding by Parallel.Forech loop
by
krushna chandra jena
Question
25 Feb 2013
license:
CPOL
Hi Everyone..... I have a list view , where i want to show a collection of data recursively ..., I use back ground worker to keep my user interface active .., i also use Parallel.ForEach to load the data in list view at a time .My code is:public void bg_DoWork(object sender,...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Threading
ListView
Parallel
NET
Await Tasks in C#4 using Iterators
by
Keith L Robertson
Article
22 Jan 2013
license:
CPOL
Write synchronous-looking asynchronous methods without async/await in Visual Studio 2010.
Languages
»
C#
»
How To
Dev
Intermediate
C#
VB
.NET
C#4.0
VB10
Threading
.NET4
Parallel
, +
Calling same method with different parameters - How to use multithreading / parallel class?
by
OriginalGriff
Answer
18 Jan 2013
license:
CPOL
Multithreading or parallel may or may not speed things up - it can actually slow things down because of the processing overhead in setting up the thread / tasks and allocating separate memory space for them. In addition it depends what else is going on - if each thread needs to talk to SQL then...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
.NET3.5
C#
.NET
multithreading
Parallel
Class
Calling same method with different parameters - How to use multithreading / parallel class?
by
SandhyaPillai
Question
18 Jan 2013
license:
CPOL
Here is the scenario: I have a dll which has method that gets data from db, depending on parameters passed, does various checks and gives me required data.GetGOS_ForBill(AgencyCode)In a windows application, I have listbox which list 500 + agencies. I retrieve GOS for each agency append to a...
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
.NET3.5
C#
.NET
multithreading
Parallel
Class
When using the partitioner object in a parallel construct "Parallel.ForEach", why do we have to keep the size of the partitioned chunks large and why do we have to keep the number of locks small?
by
dedo1991
Question
16 Jan 2013
license:
CPOL
this question can be deleted because it was not answered properly and the answer is no longer needed.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Parallel
When using the partitioner object in a parallel construct "Parallel.ForEach", why do we have to keep the size of the partitioned chunks large and why do we have to keep the number of locks small?
by
CHill60
Answer
19 Dec 2012
license:
CPOL
The performance impact of too many locks defeats the object of multi-threadingSee http://tipsandtricks.runicsoft.com/CSharp/ParallelClass.html[^] for a fuller explanation.
General Programming
»
Uncategorised Quick Answers
»
General
C#
Parallel
Parallel task and sorted list thread safety
by
- NA -
Question
18 Nov 2012
license:
CPOL
According to code segment, is it thread safe? if not what should I do?Second, Is there any relation between number of cores of CPU and number of tasks?var t = new Task[2]{ Task.Factory.StartNew(()=> { foreach (var item in firstsortedlist) { ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Parallel
Task
Parallel task and sorted list thread safety
by
Sergey Alexandrovich Kryukov
Answer
18 Nov 2012
license:
CPOL
Your collection type should be thread-safe. It is not, this is not a problem, but you should make all calls you use thread safe, by simply wrapping each of them in the lock statement on the same lock object: lock(someLockObject) firstsortedlist.Add(item.Key, item.Value);// where...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Parallel
Task
Parallel programming in c# and concurrent dictionary
by
- NA -
Question
5 Nov 2012
license:
CPOL
I have a lot of sortedlists in my program. I run my program for large number of repeats. In each repeat a lot of data add to the sorted lists and data from previous repeat also add to current list through loops.At first, number of data is small then the program is fast, but gradually amount of...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Parallel
parallel sparse multiplication algorithm
by
Sandeep Mewara
Answer
3 Nov 2012
license:
CPOL
It does not work like this here.Here is what is expected of enquirers:1. TRY first what you want to do! You may find that it's not that hard.2. Formulate what was done by you that looks like an issue/not working. Try them and tell if you face issues.Members will be more than happy...
General Programming
»
Uncategorised Quick Answers
»
General
Parallel
parallel sparse multiplication algorithm
by
saeid21
Question
3 Nov 2012
license:
CPOL
hello i have an algorithm and i want to know how it works and how it divides processorsplease help me its very important for meAlgorithm Operation C ← AB using Sparse SUMMAInput: A ∈ Sm×k,B ∈ Sk×n: sparse matrices distributed on a pr ×pc processor gridOutput: C ∈ Sm×n: the product AB,...
General Programming
»
Uncategorised Quick Answers
»
General
Parallel
Parallel Programming using .NET
by
Rahul K Singh
Answer
25 Oct 2012
license:
CPOL
I think you are asking about multiple threads. In desktop application you can use BackgroundWorker. It will help you. Or you can use Delights.
General Programming
»
Uncategorised Quick Answers
»
General
Windows
.NET
C#
C#4.0
Parallel
Parallel Programming using .NET
by
CPallini
Answer
23 Oct 2012
license:
CPOL
A starting point: "Parallel Programming in .NET Framework 4: Getting Started"[^].
General Programming
»
Uncategorised Quick Answers
»
General
Windows
.NET
C#
C#4.0
Parallel
Parallel Programming using .NET
by
Yousif Mazeh
Question
23 Oct 2012
license:
CPOL
hello,what is the best method to use parallel programming without affecting other running process performance and without making windows becoming slower.
General Programming
»
Uncategorised Quick Answers
»
General
Windows
.NET
C#
C#4.0
Parallel
GPGPU on Accelerating Wave PDE
by
Alesiani Marco
Article
13 Oct 2012
license:
CPOL
A Wave PDE simulation using GPGPU capabilities
Platforms, Frameworks & Libraries
»
Gpu Programming
»
General
C++
Visual-Studio
Dev
Visual-Studio
VS2010
GPGPU
Parallel
Possible Applications for Parallel Programming
by
BobJanova
Answer
7 Sep 2012
license:
CPOL
Any problem where there are several computationally expensive and independent tasks that need doing is ripe for parallelism. A Mandelbrot generator or similar could be a good intellectual exercise. In the real world it's usually when you're trying to simulate something with varying parameters,...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Parallel
Possible Applications for Parallel Programming
by
BrianHamilton
Question
7 Sep 2012
license:
CPOL
Hi,I'm looking for apps to develop to increase me knowledge of parallel programming. I did one with a pivot sort but I'm wondering is something like a primality test would be worth doing or if anyone has any other ideas. I'm not looking for coded solutions, just ideas. I'm not really...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Parallel
Efficient Map Operations for Arrays in C#
by
Christopher Diggins
Article
3 Sep 2012
license:
CPOL
An informal survey of implementation techniques of the map higher-order function for arrays in C#.
Languages
»
C#
»
General
C#
.NET
LINQ
Threading
performance
Parallel
TPL
Parallel Port Control with C# .NET 2.0
by
Arman Asçi
Tip/Trick
17 Aug 2012
license:
CPOL
Parallel port data register control with C# .NET 2.0 and inpout32.dll.
General Reading
»
Hardware & System
»
General
C#2.0
C#
Parallel
7-Segment Display Multiplexing Control with Parallel Port and x86 Assembly
by
Arman Asçi
Article
15 Aug 2012
license:
GPL3
Time division multiplexing between 6 x 7-Segment displays control with Parallel Port and x86 assembly.
General Reading
»
Hardware & System
»
Hardware Programming
ASM
display
Parallel
Values Misssig using Parallel Linq In C#
by
OriginalGriff
Answer
27 Jul 2012
license:
CPOL
If you look at the MSDN page for BindingList[^] you will see the following at teh bottom:"Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe."This means that the threads are interfering with each other!...
General Programming
»
Uncategorised Quick Answers
»
General
LINQ
Parallel
Values Misssig using Parallel Linq In C#
by
- NA -
Question
27 Jul 2012
license:
CPOL
Hi All,I'm tried Parallel Linq for adding data to an object. but some of the values are missing when clicking the button multiple times. The code is BindingList addnew = new BindingList();System.Threading.Tasks.Parallel.For(0, 1000, i => addnew.Add( ...
General Programming
»
Uncategorised Quick Answers
»
General
LINQ
Parallel
Advantage Multicore over Multithread in core i7
by
enhzflep
Answer
15 Jun 2012
license:
CPOL
Gday, I'm not so sure I understand each of your points and your questions - though I'll do what I can to address them.XBox, PS3 actually only have a couple of cores, like PCs. PS3 - 8 for the cell, 6 as implemented in ps3 variants.Xbox360 - 3 for the PowerPC XenonJust like PCs, the...
General Programming
»
Uncategorised Quick Answers
»
General
C++
multithreading
Parallel
Advantage Multicore over Multithread in core i7
by
Stephen Hewison
Answer
15 Jun 2012
license:
CPOL
More cores quite simply means you can do more at any one time. Most cores also support threading. Processors work using something called the fetch execute cycle. This cycle has 4 stages and it's possible for 4 separate threads to work within a single processor as each one exists within each...
General Programming
»
Uncategorised Quick Answers
»
General
C++
multithreading
Parallel
Advantage Multicore over Multithread in core i7
by
shankha2010
Question
15 Jun 2012
license:
CPOL
Hi All, After reading about parallel programming by multicore processor,I have some doubts. Its undoubtedly best idea for play stations,X-Box [as they have soo... many cores] But will it prove to be effective for core i7 running 8 parallel process then running 100 thread in Windows...
General Programming
»
Uncategorised Quick Answers
»
General
C++
multithreading
Parallel
Hard time trying to go Parallel
by
ArmandoUHMatCom
Answer
25 Apr 2012
license:
CPOL
at last i got a hold of something usefullhere maybe this will help another noob like me void Calling_Method_In_Separate_Thread() { ParameterizedThreadStart parameterizedThreadStart = Method; var thread = new Thread(parameterizedThreadStart); ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Parallel
Kinect
Hard time trying to go Parallel
by
ArmandoUHMatCom
Answer
24 Apr 2012
license:
CPOL
as of this http://tipsandtricks.runicsoft.com/CSharp/ParallelClass.html[^]i think parallel for wont do what i needbut i think im on to something with this but im not sure yethttp://msdn.microsoft.com/en-us/magazine/cc163340.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Parallel
Kinect
Hard time trying to go Parallel
by
Leonardo Paneque
Answer
24 Apr 2012
license:
CPOL
In order to convert a solution to parallel you need to check also for output and input dependencies. for example it is not possible to run Fibonacci numbers in parallel, because a value X, depends on previous values x-1 and x-2.So that being said, be aware that not everything can be...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Parallel
Kinect
Hard time trying to go Parallel
by
SASS_Shooter
Answer
24 Apr 2012
license:
CPOL
If I understand your question correctly -- you want to have computation threads performing in parallel to make this look run faster. Is this correct?You need to break this down into simple steps then you can turn it into a multi-threaded process.1) break out your computation in your...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Parallel
Kinect
Hard time trying to go Parallel
by
ArmandoUHMatCom
Question
24 Apr 2012
license:
CPOL
first of all I apologize for my Englishi am trying to optimize/speed up some code i madeto make a texture with the information of the depth frame provided by a kinecti have been looking at System.Threading and other stuff but haven't been able to make this parallel any help would be...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Parallel
Kinect
efficiency of Parallel caculation in .Net 4.0
by
fanorng1985
Answer
12 Apr 2012
license:
CPOL
class Program { static void Main(string[] args) { Stopwatch timer1 = new Stopwatch(); Stopwatch timer2 = new Stopwatch(); timer1.Start(); int max = 10000000; ConcurrentBag intQueue = new...
General Programming
»
Uncategorised Quick Answers
»
General
.NET
Parallel
Need help for custom data glove
by
Vignesh renganath
Question
21 Mar 2012
license:
CPOL
I need to design a custom data glove for my project. in one end of the glove am using LED light and in another end am using a photo detector and both the LED and the photo diode are placed inside a heat shrink which is stuffed with the transparent wire which conducts the light(similar to...
General Programming
»
Uncategorised Quick Answers
»
General
Parallel
Please help...Parallel exec. time is coming more than sequential one.
by
Ratika Agarwal
Question
18 Mar 2012
license:
CPOL
I am coding in c#.net 4.0 for my project on parallelism.After coding I came across a problem that parallel exec. time is coming more than sequential one.'x' and 'y' are global arrays variables. Program object1= new Program(); Program object2= new...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
programming
.NET4
Parallel
Please help...Parallel exec. time is coming more than sequential one.
by
OriginalGriff
Answer
18 Mar 2012
license:
CPOL
Parallel does not mean that things happen at the same time. All it means is that operations can occur in separate threads, which may (or may not) run on separate cores. This assumes that there are free cores to run the threads, or all that happens is that the extra overhead of establishing the...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
programming
.NET4
Parallel
How to Use parallel_for_each
by
Dharmateja Challa
Tip/Trick
15 Mar 2012
license:
CPOL
Using parallel_for_each which is part of Parallel Pattern Library ( PPL )
Languages
»
C / C++ Language
»
Howto
C++
Windows
STL
Dev
Intermediate
VC10.0
Parallel
Open MP process time
by
Stefan_Lang
Answer
16 Jan 2012
license:
CPOL
simple image process program using open mpThat is the first mistake: Multithreading is never simple!The second problem is memory access: I don't know how clever OMP goes about it, but I doubt it will recognize that for each y you access values from a very specific range of memory, and...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Parallel
OpenMP
Open MP process time
by
alianzalima1978
Question
16 Jan 2012
license:
CPOL
hi everyone!i'm working with a simple image process program using open mp,but can't get make my program faster as it's supposed to be.the process time of the code bellow was 0.5secs.but with the open mp line commented out, it was only 0.1secs.i can't see what is going on.please...
General Programming
»
Uncategorised Quick Answers
»
General
C++
Parallel
OpenMP
Open MP process time
by
Jochen Arndt
Answer
15 Jan 2012
license:
CPOL
The inner loop var x is shared by default. You should make it private:#pragma omp parallel for private(x)This should boost performance. But I'm not sure if this is all.
General Programming
»
Uncategorised Quick Answers
»
General
C++
Parallel
OpenMP
Open MP process time
by
Sergey Alexandrovich Kryukov
Answer
15 Jan 2012
license:
CPOL
Did you gain 5 times in performance? This is better result as I would expect. How could you expect more if you only have 2 cores? Do you think parallel processing is the miracle, can draw power from nowhere? :-)—SA
General Programming
»
Uncategorised Quick Answers
»
General
C++
Parallel
OpenMP
.Net concurrent Tasks
by
E.F. Nijboer
Answer
13 Dec 2011
license:
CPOL
Have a look at the ThreadPool class and TaskScheduler class. And... I think the third link might be a good example of what you are looking...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Threading
Parallel
.Net concurrent Tasks
by
Freeboss
Question
13 Dec 2011
license:
CPOL
Hi, I am looking for a way to set a Fixed concurrent tasks number..As far as i know Task.Factory does not have anything like and i'm stuck.I've also though about the BlockingCollection and the Producer-Consumer model but i'm not sure if this is the right implementation as i have about...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Threading
Parallel
The answer is not found same for the factorial (Parallel and Normal)
by
Eduard Lu
Answer
3 Dec 2011
license:
CPOL
The reason is,,,, the value of sum was changed from the 1st for loop and used again in the second block of codes. Try using 2 different variables like: sum1 and sum2Regards,Eduard
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Parallel
The answer is not found same for the factorial (Parallel and Normal)
by
Addy Tas
Answer
3 Dec 2011
license:
CPOL
Hi,You have tried to parallize a calculation where the result of one iteration is dependent on the previous. If the sum was not used in the multiplication the value would not be transferred to the next iteration. You can only parallize stuff where iterations have no relation to each...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
Parallel
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web03 | 2.6.130513.1 | Last Updated 13 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid