GithubHelp home page GithubHelp logo

parallel-counting's Introduction

Parallel-Counting

A program that creates a number of threads each of which counts by a that number. The results are displayed in the order assigned to the threads.

Program takes one argument the number of threads/(count by number).

To run the program clone this repository cd into the directory and run the following command.

mvn exec:java -Dexec.args="100"

th 1: 1
th 2: 2
th 3: 3
th 4: 4
th 5: 5
th 6: 6
th 7: 7
th 8: 8
th 9: 9
th 10: 10
th 11: 11
th 12: 12
th 13: 13
th 14: 14
th 15: 15
th 16: 16
th 17: 17
th 18: 18
th 19: 19
th 20: 20
th 21: 21
th 22: 22
th 23: 23
th 24: 24
th 25: 25
th 26: 26
th 27: 27
th 28: 28
th 29: 29
th 30: 30
th 31: 31
th 32: 32
th 33: 33
th 34: 34
th 35: 35
th 36: 36
th 37: 37
th 38: 38
th 39: 39
th 40: 40
th 41: 41
th 42: 42
th 43: 43
th 44: 44
th 45: 45
th 46: 46
th 47: 47
th 48: 48
th 49: 49
th 50: 50
th 51: 51
th 52: 52
th 53: 53
th 54: 54
th 55: 55
th 56: 56
th 57: 57
th 58: 58
th 59: 59
th 60: 60
th 61: 61
th 62: 62
th 63: 63
th 64: 64
th 65: 65
th 66: 66
th 67: 67
th 68: 68
th 69: 69
th 70: 70
th 71: 71
th 72: 72
th 73: 73
th 74: 74
th 75: 75
th 76: 76
th 77: 77
th 78: 78
th 79: 79
th 80: 80
th 81: 81
th 82: 82
th 83: 83
th 84: 84
th 85: 85
th 86: 86
th 87: 87
th 88: 88
th 89: 89
th 90: 90
th 91: 91
th 92: 92
th 93: 93
th 94: 94
th 95: 95
th 96: 96
th 97: 97
th 98: 98
th 99: 99
th 100: 100
th 1: 101
th 2: 102
th 3: 103
th 4: 104
th 5: 105
th 6: 106
th 7: 107
th 8: 108
th 9: 109
th 10: 110
th 11: 111
th 12: 112
th 13: 113
th 14: 114
th 15: 115
th 16: 116
th 17: 117
th 18: 118
th 19: 119
th 20: 120
th 21: 121
th 22: 122
th 23: 123
th 24: 124
th 25: 125
th 26: 126
th 27: 127
th 28: 128
th 29: 129
th 30: 130
th 31: 131
th 32: 132
th 33: 133
th 34: 134
th 35: 135
th 36: 136
th 37: 137
th 38: 138
th 39: 139
th 40: 140
th 41: 141
th 42: 142
th 43: 143
th 44: 144
th 45: 145
th 46: 146
th 47: 147
th 48: 148
th 49: 149
th 50: 150
th 51: 151
th 52: 152
th 53: 153
th 54: 154
th 55: 155
th 56: 156
th 57: 157
th 58: 158
th 59: 159
th 60: 160
th 61: 161
th 62: 162
th 63: 163
th 64: 164
th 65: 165
th 66: 166
th 67: 167
th 68: 168
th 69: 169
th 70: 170
th 71: 171
th 72: 172
th 73: 173
th 74: 174
th 75: 175
th 76: 176
th 77: 177
th 78: 178
th 79: 179
th 80: 180
th 81: 181
th 82: 182
th 83: 183
th 84: 184
th 85: 185
th 86: 186
th 87: 187
th 88: 188
th 89: 189
th 90: 190
th 91: 191
th 92: 192
th 93: 193
th 94: 194
th 95: 195
th 96: 196
th 97: 197
th 98: 198
th 99: 199
th 100: 200

parallel-counting's People

Contributors

happyspace avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.