Skip to content

Instantly share code, notes, and snippets.

View ierhalim's full-sized avatar

İlker ERHALIM ierhalim

  • Hugo Boss
  • Turkey/İzmir
View GitHub Profile
@ierhalim
ierhalim / BasicLogWriter.cs
Created December 27, 2020 14:02
Y3O1 Paralel programlama
using System;
using System.IO;
using System.Threading;
namespace LogWriter
{
class Program
{
static void Main(string[] args)
{
@ierhalim
ierhalim / BasicLogReader.cs
Created December 27, 2020 14:04
Y302 Paralel programlama
using System;
using System.IO;
using System.Threading;
namespace LogReader
{
class Program
{
static void Main(string[] args)
{
@ierhalim
ierhalim / MutexLogReader.cs
Created December 27, 2020 14:08
Y303 Paralel programlama
using System;
using System.IO;
using System.Threading;
namespace LogReader
{
class Program
{
const string exampleLogMutexName = "examplelogMutex";
static void Main(string[] args)
@ierhalim
ierhalim / Program.cs
Last active December 27, 2020 17:41
Y4O1 Paralel programlama
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ConcurentCollections
{
class Program
{
static void Main(string[] args)
@ierhalim
ierhalim / Program.cs
Created December 27, 2020 17:41
Y402 Paralel programlama
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ConcurentCollections
{
class Program
{
static void Main(string[] args)
@ierhalim
ierhalim / Program.cs
Created December 27, 2020 17:49
Y4O2 Paralel programlama
using System;
using System.Collections.Concurrent;
namespace ConcurrentDictionaryExample
{
class Program
{
static ConcurrentDictionary<string, string> trEng = new ConcurrentDictionary<string, string>();
static void GetOrAddExample()
{
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 11:27
Y5O1 Paralel programlama
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace BlockingCollectionExample
{
class Program
{
static BlockingCollection<string> blockingCollection;
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 11:57
Y6O1 Paralel programlama
using System;
using System.Threading.Tasks;
namespace ContinueWithExample
{
class Program
{
static void Main(string[] args)
{
var task1 = Task.Run(() => {
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 11:59
Y602 Paralel Programlama
using System;
using System.Threading.Tasks;
namespace ContinueWhenAllExample
{
class Program
{
static void Main(string[] args)
{
var task1 = Task.Run(() =>
@ierhalim
ierhalim / Program.cs
Created January 1, 2021 12:25
Y6O3 Paralel Programlama
using System;
using System.Threading.Tasks;
namespace TaskContinuationOptionsExample
{
class Program
{
static void Main(string[] args)
{
var task1 = Task.Run(() =>